# C Programming Examples

This page contains the list of C programming examples which covers the concepts like basic c programs, programs on numbers, loop programs, functions, recursions etc.

All the C programming examples that are present in this page might contain at least three examples, which includes program using For Loop, using While Loop, Functions. In some case, Recursions.

## Simple C Programming Examples

The following C programming examples are the basic and simple programs.

1. C Program to Print Hello World
2. C Program to Add Two Numbers
3. C Program for Average of Two Numbers
4. C program to find Compound Interest
5. C program to Calculate Cube of a Number
6. C Program to check Number is Even or Odd
7. C Program to Print Even Numbers from 1 to N
8. C Program to find Largest of Two Numbers
9. C Program to find Largest of Three Numbers
10. C Program to print Multiplication Table
11. C program to find Number is Divisible by 5 and 11
12. C Program for nCr Calculation
13. C Program for nPr Calculation
14. C Program to print Odd Numbers from 1 to N
15. C program to calculate Power of a Number
16. C program to find Profit or Loss
17. Print an Integer, Character, and Float Value
18. Positive or Negative Number
19. Print 1 to 100 without using Loop
20. Roots of a Quadratic Equation
21. Simple Interest
22. Standard Deviation
23. Sum of Even and Odd numbers in a Given Range
24. Square of a Number
25. Square root of a Number
26. Sum of Even Numbers from 1 to n
27. Sum of Odd Numbers from 1 to n
29. Total, Average, and Percentage of Five Subjects
30. C example to accept User Input and Print

## C Programming Examples on Numbers

The list of advanced Number programs in C Programming language with multiple examples.

1. C Program to check the Number is Armstrong Number
2. C program to Count Number of Digits in a Number
3. C program to Check Number is a Prime, Armstrong, or Perfect Number
4. C program to Calculate Electricity BillC
5. C Program to find Factors of a Number
6. C Program to find Factorial of a Given Number
7. C program to print First Digit of Number
8. C program to print First and Last Digit of a Number
9. C program to calculate GCD of Two Numbers
10. C program to calculate Generic Root of a Number
11. C program to find Gross Salary of an Employee
12. C program to print Last Digit of Number
13. C program to calculate LCM of Two Numbers
14. C program to find NCR Factorial of a Number
15. C program to print Natural Numbers from 1 to N
16. C program to print Natural Numbers in Reverse Order
17. C program to Check Palindrome or Not
18. C program to check Perfect Number or Not
19. C program to check Prime Number
20. C program to print Prime Numbers from 1 to 100
21. C program, to calculate Product of Digits of a Number
22. C program to find Prime Factors of a Number
23. C example to Reverse a Number
24. C example to Swap Two Numbers
25. C example to fid Sum of First and Last Digit of a Number
26. C example to Swap First and Last Digit of a Number
27. C example to find Sum of N Natural Numbers
28. C example to calculate Sum and Average of N Numbers
29. C program to check Strong Number
30. C program to find Sum of Digits in a Given Number
31. C program for Simple Calculator
32. Total Notes in a Given Amount

## Calendar Programs in C

1. C Program to find the Leap Year
2. C example to find the Day Name of a Week
3. Days to Years Weeks and Days
4. Number of Days in a Month

## Conversion Programs in C

The following are the list of C programs to Convert

## C Programs on Characters

Below programs are the C Programs to Check whether the Character is

## C Programming Examples on Area

The following are the list of Area programs in C language

## Volume and Surface Area Programs in C

Following are the list of Volume and Surface Area programs

## Array Programs in C

The following are the c programming examples on Arrays

## C Programs to display Patterns and Shapes

The following are the list of C programs to Print patterns and shapes

## C Programming Examples on Number pattern

The following are the remaining number pattern C programming examples.