➤ How to Code a Game
➤ Array Programs in Java
➤ Java Inline Thread Creation
➤ Java Custom Exception
➤ Hibernate vs JDBC
➤ Object Relational Mapping
➤ Check Oracle DB Size
➤ Check Oracle DB Version
➤ Generation of Computers
➤ XML Pros & Cons
➤ Git Analytics & Its Uses
➤ Top Skills for Cloud Professional
➤ How to Hire Best Candidates
➤ Scrum Master Roles & Work
➤ CyberSecurity in Python
➤ Protect from Cyber-Attack
➤ Solve App Development Challenges
➤ Top Chrome Extensions for Twitch Users
➤ Mistakes That Can Ruin Your Test Metric Program
Top Popular C Programming Examples | The only way to learn a new programming language is by writing programs in it. Here, you will find many basic, intermediate, and advanced C Programming Examples.
Quick Navigation to C Programs:- Basic C Programs, Flow Control Programs, C Function Programs, C Array Programs, C String Programs, C Pointer Programs, Others
Basic C Program Examples
- Hello, World! Program in C
- Find Size & Range of Data Types
- Simple C Programs for Beginners
- Add Subtract Multiply & divide
- Sum & Average of 3 Numbers in C
- Simple and Compound Interest
- Distance between two Points
- Circle, Triangle, and Rectangle Area
- Display ASCII value of a character
- Find the square root of a number
- Different Swapping Program in C
C Flow Control Programs
C Programming Examples on Conditional Control Statements
- Programs on if-else statements in C
- Programs on switch case using C
- Examples using Conditional Operator
- Find Largest among Three Number
- Program to find Grade of student
- Grade of a Student Using If Else
- Find the absolute value of a number
- Character is Vowel or Consonant
- C program to check Leap Year
- Create a simple calculator in C
- Check Odd or Even number in C
- Find roots of Quadratic Equation
C Programming Examples on Loop Control Statements
- Find reverse of a number in C
- Find factors of a number in C
- Generate Multiplication table
- Find the power of a Number
- C program to find GCD & LCM
- C program to find factorial
- Count number of digits in a number
- Sum of digits in a given number
- Sum of N natural numbers in C
- Sum of squares of N natural numbers
- Find the sum of odd numbers 1 to N
- C program to find the sum of series
- Find and display Fibonacci series in C
- Find the sum of the Fibonacci series
C Programming Examples on Jump Control Statements
C Program to Check Special Numbers
- C program to check Prime Number
- Program to check Strong Number
- Check Krishnamurthy Number in C
- C program to check Neon Number
- C program for Palindrome number
- Perfect Number Program in C
- Armstrong number program in C
Conversion Programs in C
- Convert Celsius to Fahrenheit in C
- Convert Fahrenheit to Celsius in C
- Decimal to Binary & Binary to Decimal
- Decimal to Octal & Octal to Decimal
- Octal to Binary & Binary to Octal in C
Pattern Programs in C
- Pattern programs in C
- Printing pattern using loops
- C program for Floyd’s triangle
- Pascal Triangle Program in C
- Pyramid Star Pattern in C
Diamond Pattern Programs in C
- Diamond Pattern Programs in C
- The Half Diamond pattern in C
- C Program to Print Diamond Pattern
- Hollow Diamond Pattern in C
- Print Diamond Pattern of Numbers
C Program on Function
- C program using functions Example
- Addition of two no. using functions
- Sum of N numbers using the function
- Largest of three numbers C functions
- Add subtract multiplication division
- Calculator program using functions
- Factorial program in C using function
- GCD of two numbers using Functions
- Power of a Number using Function
- Reverse a Number Using Function
- Find Grade of a Student using Function
- Fibonacci Series in C Using Function
- Prime Number Using Function
- Palindrome Number Using Functions
- Armstrong Number in C Using Function
C Programming Examples on Recursion
- Recursion program examples
- Fibonacci Series using Recursion
- Factorial using Recursion
- GCD or HCF using Recursion
- LCM Using Recursion
C Programming Examples on Arrays
- Find Length of Array in C
- How to Print an Array in C
- Sum of array elements in C
- Reverse an Array in C
- C program to Copy an Array
- Merge Two Arrays in C
- Merge Two Sorted Arrays in C
- Count Repeated Elements in Array
- Find Duplicate Elements in Array
- Linear Search in C
- Binary Search in C
- Insert an element in an array
- Delete an element in an array
- Display even and odd numbers in an array
- Sum and count of even and odd numbers in an array
- Count the positive, negative, and zeros in an array
- Sum of positive and negative numbers in an array
- Average and numbers greater than average in array
- Smallest & largest array element with their position
- First max and min, Second max and min number in an array
- C program to sort a list of an array element & display
- Search an array element and display its index
- Search position of Nth times occurred element in an array

C Program Examples on Multidimensional Array
- How to Print 2D Array in C
- Store temperature of two Cities for a week & display
- How to pass a multidimensional array to a function
- Largest and smallest in a 2D array with position
C programming Examples Matrix in C
- Take and Print Matrix in C
- Matrix Addition in C
- Subtraction of Two Matrix in C
- Matrix Multiplication in C Program
- Transpose of a Matrix in C
- Sum of Diagonal Elements of a Matrix in C
- Row Sum and Column Sum of a Matrix in C
- Matrix Operations – Addition, Multiplication, Transpose
C Programming Examples on String
Programs with and without using String manipulation library functions
- Find the length of String
- Copy two Strings in C
- Concatenate Two Strings
- Compare two strings
- Reverse a String in C
- Palindrome string in C
- Uppercase to a lowercase character
- Lowercase to uppercase character
More String Programs in C
- Remove all characters in a string except the alphabet
- C program to find the frequency of characters in a string
- C program to count the number of words in a string
- Count lines, words, and characters in a given text
- Vowel, consonant, digit, space, special character Count
- String pattern programs in C programming language
- Copy Input to Output Using C programming
Multi-dimensional String Programs in C
- C program to search a string in the list of strings
- Sort Elements in Lexicographical Order (Dictionary Order)
Pointer Programs
- Pointer Basic Examples using C
- Read & write Array using the
pointer - Sum & Average of Array using the
pointer - Sort list of Array elements using the
pointer - Search element in Array using Pointer
Dynamic Memory Allocation
Others
- C Program Without Main() Function
- Print hello world without using the semicolon
- C program to get process & parent Process ID
- C Program Without Header File
Subscribe to our newsletter and follow on Facebook, Instagram, Twitter to receive the latest tutorial and programs to improve your programming skills.