Here is the list of all C programs available in this blog. You can find basic level programs as well as advanced level programs. All of these programs have been categorised below. Click on the buttons inside the tabbed menu to explore those categories.
Basic
- Hello, World! program
- Addition, Subtraction, Multiplication and Division
- Average of two numbers
- Convert a character to ASCII value
- Convert ASCII value to a character
- Find unit digit of a number
- Compute quotient and remainder
- Swap two numbers without third variable
- Swap two numbers using third variable
- Swap two numbers using X-OR
- Fahrenheit to Centigrade conversion
- Centigrade to Fahrenheit conversion
- Simple interest
- Conversion between Kilograms and Grams
- Calculate percentage of a number
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
- Conversion between 12-hour and 24-hour time format
- Print natural numbers from 1 to N
- Print natural numbers from 1 to N using Recursion
- Sum of first N natural numbers / Sum of series 1 + 2 + 3 + .. + N
- Print all numbers in a range
- Sum and average of N numbers
- Compound interest
- Display letters from A to Z
- Factorial of a number
- Power of a number
- Count no of digits
- Sum of the digits of an integer
- Reverse of a number
- Check if a number is palindrome
- Count palindrome between intervals
- Display N th fibonacci number
- Display fibonacci sequence
- Display fibonacci sequence upto N
- Check a number is a prime or not
- Display all prime numbers upto N
- Display First N prime numbers
- Display prime numbers between interval
- Check amstrong number
- Find amstrong numbers between interval
- Display multiplication table
- Check perfect number
- Find minimum number of currency notes to make an amount N
- Find the average and sum until 0 is entered
- Find the value of permutation and combination
- Find the frequency of a digit in a number
- Find largest element
- Find smallest element
- Sum of elements
- Sum and average of N numbers
- Display array in reverse
- Rotate an array
- Check if a string is palindrome
- Change case of a string
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern
- Display own source code
- Check if a number is even or odd
- Check equality of two matrices
- Matrix addition
- Matrix subtraction
- Matrix multiplication
- Check diagonal matrix
- Check upper triangular matrix
- Check lower triangular matrix
- Trace of matrix
- Calculate the Area, Perimeter and Diagonal of a square
- Calculate Area, Perimeter and Diagonal of a Rectangle
- Calculate Area and Perimeter of a Circle
- Calculate Area, Perimeter and Side of a Rhombus
- Calculate Surface Area and Volume of a Sphere
- Find the Area and Perimeter of an Equilateral Triangle
- Find the Area and Perimeter of an Isosceles Triangle
- Find Area and Perimeter of Scalene Triangle
- Find Area and Perimeter of a Parallelogram
- Find Area and Perimeter of a Trapezoid
- Find Area of a Circular Ring
- Find Length and Area of Arc in Circular Sector
- Pythagorean Theorem
- Find Surface Area and Volume of a Cube
- Find Surface Area and Volume of a Cylinder
- Find Surface Area and Volume of a Cone
- Find Surface Area and Volume of a Rectangular Prism
- Euclidean distance
- Manhattan distance
- Check if three points form a triangle
- Convert Decimal to Binary
- Convert Binary to Decimal
- Conversion between Binary and Hexadecimal
- Linear search
- Binary search
- Rock paper scissors random approach
- Multiply large numbers
Decision making
Loop & Recursion
Array
Strings
Pattern
File Input/Output
Bitwise operation
Matrix
Geometry
Number System
Searching & Sorting
Games
Miscellaneous
Basic
- Hello, World! Program
- Addition, Subtraction, Multiplication and Division
- Average of two numbers
- Convert a character to ASCII value
- Convert ASCII value to a character
- Find unit digit of a number
- Compute Quotient and Remainder
- Swap two numbers without third variable
- Swap two numbers using third variable
- Swap two numbers using X-OR
- Fahrenheit to Celsius conversion
- Centigrade to Fahrenheit conversion
- Simple interest
- Conversion between Kilograms and Grams
- Calculate percentage of a number
Decision making
- Check vowel or consonant
- Check if a character is a digit
- Conversion between uppercase and lowercase letter
- Check if a number is positive or negative
- Check if a number is even or odd
- Find largest among three numbers
- Check if a number is a perfect square
- Check leap year
- Simple calculator
- Calculate profit and loss
- Roots of quadratic equation
- Find the letter grade of a student
- Find the age group
- Calculate income tax
- Display month according to input number
- Conversion between 12-hour and 24-hour time format
Loop & Recursion
- Print natural numbers from 1 to N
- Print natural numbers from 1 to N using Recursion
- Sum of first N natural numbers / Sum of series 1 + 2 + 3 + .. + N
- Print all numbers in a range
- Sum and average of N numbers
- Compound interest
- Display letters from A to Z
- Factorial of a number
- Power of a number
- Count no of digits
- Sum of the digits of an integer
- Reverse of a number
- Check if a number is palindrome
- Count palindrome between intervals
- Display N th fibonacci number
- Display fibonacci sequence
- Display fibonacci sequence upto N
- Check a number is a prime or not
- Display all prime numbers upto N
- Display First N prime numbers
- Display prime numbers between interval
- Check amstrong number
- Find amstrong numbers between interval
- Display multiplication table
- Check perfect number
- Find minimum number of currency notes to make an amount N
- Find the average and sum until 0 is entered
- Find the value of permutation and combination
- Find the frequency of a digit in a number
Pattern
- Square pattern
- Rectangle pattern
- Rhombus pattern
- Half diamond pattern
- Diamond pattern
- Right triangle, Half pyramid pattern
- Full pyramid pattern
- Inverted full pyramid pattern
- Snake number pattern
- Spiral pattern
- Hollow rectangle pattern
- Hollow rhombus pattern
- Hollow diamond pattern
- Hollow pyramid pattern
- Floyd's triangle pattern
- Pascal's triangle pattern
Array
Structure and Union
File Input/Output
Bitwise operation
Matrix
Geometry
- Calculate the Area, Perimeter and Diagonal of a square
- Calculate Area, Perimeter and Diagonal of a Rectangle
- Calculate Area and Perimeter of a Circle
- Calculate Area, Perimeter and Side of a Rhombus
- Calculate Surface Area and Volume of a Sphere
- Find the Area and Perimeter of an Equilateral Triangle
- Find the Area and Perimeter of an Isosceles Triangle
- Find Area and Perimeter of Scalene Triangle
- Find Area and Perimeter of a Parallelogram
- Find Area and Perimeter of a Trapezoid
- Find Area of a Circular Ring
- Find Length and Area of Arc in Circular Sector
- Pythagorean Theorem
- Find Surface Area and Volume of a Cube
- Find Surface Area and Volume of a Cylinder
- Find Surface Area and Volume of a Cone
- Find Surface Area and Volume of a Rectangular Prism
- Euclidean distance
- Manhattan distance
- Check if three points form a triangle