⬅ Previous TopicC Hello World Program
Next Topic ⮕C Hello World Program
Top 100 C Programs for Practice
Top 100 C Programs
This page lists the top 100 C programs every beginner and intermediate developer should practice. They cover:
- Basic input/output operations
- Control flow (if, switch, loops)
- Functions and recursion
- Arrays, strings, and matrices
- Pattern printing
- Pointers and structures
- Mathematical and logical problems
Each program helps you master C programming concepts and improve your logical thinking. Explore the full list below and click on each program to view its explanation and source code.
- C Hello World Program
- C Program - Print Your Own Name
- C Program - Print an Integer Entered By the User
- C Program - Add Two Numbers
- C Program - Check Whether a Number is Prime or Not
- C Program - Multiply two Floating-Point Numbers
- C Program - Print the ASCII Value of a Character
- C Program - Swap Two Numbers
- C Program - Calculate Fahrenheit to Celsius
- C Program - Find the Size of int, float, double, and char
- C Program - Add Two Complex Numbers
- C Program - Print Prime Numbers From 1 to N
- C Program - Find Simple Interest
- C Program - Find Compound Interest
- C Program - Area And Perimeter Of Rectangle
- C Program - Check Whether a Number is Positive, Negative, or Zero
- C Program - Check Whether Number is Even or Odd
- C Program - Check Whether a Character is Vowel or Consonant
- C Program - Find Largest Number Among Three Numbers
- C Program - Calculate Sum of Natural Numbers
- C Program - Print Alphabets From A to Z Using Loop
- C Program - Check Leap Year
- C Program - Find Factorial of a Number
- C Program - Make a Simple Calculator
- C Program - Generate Multiplication Table
- C Program - Print Fibonacci Series
- C Program - Find LCM of Two Numbers
- C Program - Check Armstrong Number
- C Program - Display Armstrong Numbers Between 1 to 1000
- C Program - Display Armstrong Number Between Two Intervals
- C Program - Reverse a Number
- C Program - Check Whether a Number is a Palindrome or Not
- C Program - Display Prime Numbers Between Intervals
- C Program - Check whether the input number is a Neon Number
- C Program - Find All Factors of a Natural Number
- C Program - Print Simple Pyramid Pattern
- C Program - Print Given Triangle
- C Program - Print 180 0 Rotation of Simple Pyramid
- C Program - Print Inverted Pyramid
- C Program - Print Number Pattern
- C Program - Print Character Pattern
- C Program - Print Hollow Star Pyramid
- C Program - Print Pascal's Pattern Triangle Pyramid
- C Program - Print Floyd's Pattern Triangle Pyramid
- C Program - Check Prime Number By Creating a Function
- C Program - Display Prime Numbers Between Two Intervals Using Functions
- C Program - Find All Roots of a Quadratic Equation
- C Program - Check Whether a Number can be Express as Sum of Two Prime Numbers
- C Program - Find the Sum of Natural Numbers using Recursion
- C Program - Calculate the Factorial of a Number Using Recursion
- C Program - Find G.C.D Using Recursion
- C Program - Calculate Power Using Recursion
- C Program - Print a 2D Array
- C Program - Find the Largest Element in an Array
- C Program - Find the Maximum and Minimum in an Array
- C Program - Search an Element in an Array (Binary search)
- C Program - Calculate the Average of All the Elements Present in an Array
- C Program - Sort an Array using Bubble Sort
- C Program - Sort an Array using Merge Sort
- C Program - Sort an Array Using Selection Sort
- C Program - Sort an Array Using Insertion Sort
- C Program - Sort the Elements of an Array in Descending Order
- C Program - Sort the Elements of an Array in Ascending Order
- C Program - Remove Duplicate Elements From a Sorted Array
- C Program - Merge Two Arrays
- C Program - Find Common Array Elements
- C Program - Copy All the Elements of One Array to Another Array
- C Program - Array Rotation
- C Program - Sort the 2D Array Across Rows
- C Program - Check Whether Two Matrices Are Equal or Not
- C Program - Find the Transpose
- C Program - Find the Determinant of a Matrix
- C Program - Find the Normal and Trace
- C Program - Add Two Matrices
- C Program - Multiply Two Matrices
- C Program - Print Boundary Elements of a Matrix
- C Program - Rotate Matrix Elements
- C Program - Compute the Sum of Diagonals of a Matrix
- C Program - Interchange Elements of First and Last in a Matrix Across Rows
- C Program - Add or Concatenate Two Strings
- C Program - Add 2 Binary Strings
- C Program - Get a Non-Repeating Character From the Given String
- C Program - Check if the string is palindrome or not
- C Program - Reverse an Array or String
- C Program - Reverse a String Using Recursion
- C Program - Find the Length of a String
- C Program - Sort a String
- C Program - Check For Pangram String
- C Program - Print the First Letter of Each Word
- C Program - Remove Leading Zeros
- C Program - Compute Quotient and Remainder
- C Program - Demonstrate the Working of Keyword long
- C Program - Check Whether a Character is an Alphabet or not
- C Program - Count Number of Digits in an Integer
- C Program - Calculate the Power of a Number
- C Program - Reverse a Sentence Using Recursion
- C Program - Calculate Standard Deviation
- C Program - Multiply two Matrices by Passing Matrix to a Function
- C Program - Swap Numbers in Cyclic Order Using Call by Reference
- C Program - Remove all Characters in a String Except Alphabets
Comments
Loading comments...