250+ C Programs For Practice PDF
250+ C Programs For Practice PDF
250+ C Programs For Practice PDF
Free Download
1. Simple C Questions
● Area and Circumference of a Circle
● Area of Triangle
● Simple Interest
● Percentage of 5 Subjects
● Read Integer (N) and Print the First Three Powers (N^1, N^2, N^3)
● Area of a Circle
2. If/Else Statement
● The Greatest Number Among the Given Three Number
● Leap Year
● Input any character and check whether it is the alphabet, digit or special
character.
● Input angles of a triangle and check whether the triangle is valid or not.
● Input all sides of a triangle and check whether the triangle is valid or not.
● Check whether the triangle is an equilateral, isosceles or scalene triangle.
3. Loops
● Reverse a Number
● Denomination of an Amount
4. Switch Case
● Temperature Conversion Celsius To Fahrenheit And Vice Versa
● Calculator
Switch Case)
● Find the maximum between two numbers using the switch case.
6. Matrix Questions
● Add two matrices.
● Identity matrix in C.
● Trim both leading and trailing white space characters from a given string.
9. Function Questions
● Cube of any number using the function.
● Find diameter, circumference and area of a circle using functions.
functions.
● Find all prime numbers between the given interval using functions.
● Print all strong numbers between the given interval using functions.
● Print all perfect numbers between the given interval using functions.
● Find the sum of all even or odd numbers in a given range using recursion.
● Read numbers from a file and write even, odd and prime numbers to
separate file.
● Convert uppercase to the lowercase character and vice versa in a text file.
● Find properties of a file using stat() function.
12. Sorting
● Bubble Sort in C
● Shell Sort in C
● Merge Sort in C
● Heap Sort in C
● Selection Sort in C
● Insertion Sort in C
13. Searching
● Binary Search in C
● Linear Search in C
can help you to become a pro programmer. In this section, two categories are the
number pattern and start pattern. I just keep the pattern programming and
number programming separate. All the tricky questions or we can say that number
● Puzzles Questions
https://www.programmingwithbasics.com/p/list-c-language-programs.html
Thanks