Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.8K+ articles
C++
4.2K+ articles
C++ Programs
2.1K+ articles
C Language
1.5K+ articles
C Programs
536+ articles
Numbers
328+ articles
ASCII
153+ articles
C-Functions
90+ articles
C-String
58+ articles
C-Arrays
51+ articles
C Basic Programs
72 posts
Recent Articles
Popular Articles
C++ Program To Find Factorial Of A Number
Last Updated: 23 June 2023
The Factorial of a non-negative integer is the multiplication of all integers smaller than or equal to n. For example, the factorial of 6 is 6*5*4*3*2*1 which is 720.Recur...
read more
C++ Programs
C++
C Basic Programs
C++ Program To Find Simple Interest
Last Updated: 21 February 2024
What is 'Simple Interest'?Simple interest is a quick method of calculating the interest charge on a loan. Simple interest is determined by multiplying the daily interest r...
read more
C++ Programs
C++
C Basic Programs
C++ Program To Find Compound Interest
Last Updated: 29 July 2024
What is 'Compound interest'?Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. It is the res...
read more
C++ Programs
C++
C Basic Programs
C++ Program To Find Sum of Fibonacci Numbers at Even Indexes Upto N Terms
Last Updated: 27 January 2023
Given a positive integer N, the task is to find the value of F2 + F4 + F6 +.........+ F2n upto N terms where Fi denotes the i-th Fibonacci number.The Fibonacci numbers are...
read more
C++
C Basic Programs
C++ Program to Check Whether a Number is Palindrome or Not
Last Updated: 13 January 2025
A palindrome number is a number that remains the same even if its digits are reversed. In this article, we will learn how to check a given number is a palindrome or not in...
read more
C++ Programs
C++
C Basic Programs
C++ Program To Find Prime Numbers Between Given Interval
Last Updated: 11 September 2024
A prime number is defined as a natural number greater than 1 and is divisible by only 1 and itself. In other words, the prime number is a positive integer greater than 1 t...
read more
C++ Programs
C++
C Basic Programs
C++ Program To Calculate the Power of a Number
Last Updated: 13 October 2023
Write a C++ program for a given two integers x and n, write a function to compute xn. We may assume that x and n are small and overflow doesn’t happen.Recommended Practice...
read more
C++ Programs
C++
C Basic Programs
Reverse String in C
Last Updated: 05 December 2024
In C, reversing a string means rearranging the characters such that the last character becomes the first, the second-to-last character becomes the second, and so on. In th...
read more
C Programs
C Language
C-String
C Basic Programs
Simple Personal Diary Management System in C
Last Updated: 07 February 2024
Keeping a personal diary has been a timeless practice for a lot of individuals to reflect on their thoughts and experiences. In this article, we will look at a simple pers...
read more
C Language
Geeks Premier League
C Projects
C Basic Programs
Geeks Premier League 2023
How to Find Maximum Value in an Array in C?
Last Updated: 22 February 2024
In C, arrays are data structures that allow the user to store a collection of data of the same type. In this article, we will learn how we can find the maximum value in an...
read more
C Programs
C Language
Picked
Basic Coding Problems
C-Arrays
C Basic Programs
C Examples
How to Reverse a String in C?
Last Updated: 17 May 2024
In C, a string is a sequence of characters terminated by a null character (\0). Reversing a string means changing the order of the characters such that the characters at t...
read more
C Programs
C Language
Picked
C-String
C Strings Programs
C Basic Programs
How to Read Data Using sscanf() in C?
Last Updated: 28 May 2024
In C, sscanf() function stands for "String Scan Formatted". This function is used for parsing the formatted strings, unlike scanf() that reads from the input stream, the ...
read more
C Programs
C Language
Picked
C-Functions
C Basic Programs
misc-c
Your First C Program
Last Updated: 30 July 2024
Like in most of the programming languages, program to write the text "Hello, World!" is treated as the first program to learn in C. This step-by-step guide shows you how t...
read more
C Programs
C Language
C Basic Programs
C Program to Traverse a Multi-Dimensional Array
Last Updated: 26 August 2024
Write a C program to traverse a given multi-dimensional array that contains N elements.ExamplesInput: arr[2][3] = {{1, 2, 3}, {4, 5, 6}}Output: 1 2 3 4 5 6Inp...
read more
C Programs
C Language
C-Arrays
C Basic Programs
C Program to Traverse an Array in Reverse
Last Updated: 26 August 2024
Write a C program to traverse a given array in reverse order that contains N elements.ExamplesInput: arr[] = {2, -1, 5, 6, 0, -3}Output: -3 0 6 5 -1 2Input: arr[] = {4, 0,...
read more
C Language
C-Arrays
C Basic Programs
1
2
3
4
5
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !