Here we are sharing C programs on various topics of C Programming such as array, strings, series, area & volume of geometrical figures, mathematical calculation, sorting & searching algorithms and many more. Our aim is to provide you the perfect solution of all the C programming questions that you may have either faced during interviews or in class assignments. If you don’t find what you are looking for then please drop a line in the comment section below so that we can get it added to the below collection of C programs. Happy Learning!!

## Simple C Programs

1. C Program to check if number is odd or even

2. C program to check whether the given number is positive or negative

3. Reverse an input number using recursion

4. Program to find greatest of three numbers

5. C Program to print Fibonacci series in a given range

6. C Program to find factorial of a given number

7. Find Prime numbers in a given range

8. C Program to check if given number is Armstrong or not

9. C Program to check if given number is palindrome or not

10. C program to display palindrome numbers in a given range

## String Programs

1. Program to convert string from upper case to lower case

2. Program to convert string from lower case to upper case

3. Sort a set of strings in ascending alphabetical order

4. Find length of a string without using strlen()

5. String concatenation without using strcat

6. Reverse a String using recursion

## Array Programs

7. Program to sort array in ascending order

8. Find largest element of given array

9. C program to find sum of array elements

## Sorting programs

1. Bubble sort program in C

2. Insertion sort program in C

3. Selection sort program in C

4. Quicksort program in C

## Programs on calculation

1. Find the value of nPr for given value of n & r

2. Find the value of nCr for given value of n & r

## Number system conversion programs

1. Binary to decimal conversion

## Programs to find out areas of Geometric figures

1. C program to find area and circumference of circle

2. C program to find area of equilateral triangle

## C Tutorial

If you are comfortable with the above programs and able to understand & run them successfully without any issues then its time for you to take a step further and learn C programming concepts in detail with the help of examples and flow diagrams. Here is the link: **C Programming tutorial**.

#### C programming Books

If you want to master programming in C language then these are the best books for you. Refer them and practice the programs that I have shared above.

- C Programming: A Modern Approach by K.N. King
- The C Programming Language by Brian W. Kernighan, Dennis M. Ritchie
- Let Us C by Yashavant Kanetkar

## Leave a Reply