blue elephant figurine on macbook pro

Practice C programs

Welcome to our comprehensive list of 100 C programming language programs!

C is a powerful and widely-used programming language known for its efficiency and versatility. Whether you are a beginner or an experienced programmer, this list of 100 C programming language programs will provide you with a variety of examples to enhance your understanding and skills.

Below, you will find a diverse range of programs that cover different concepts and functionalities. Feel free to explore and experiment with these programs to deepen your knowledge of C programming.

1. Hello World Program
2. Add Two Numbers
3. Multiply Two Numbers
4. Swap Two Numbers
5. Check Even or Odd
6. Check Prime Number
7. Find Factorial of a Number
8. Generate Fibonacci Series
9. Calculate Simple Interest
10. Calculate Compound Interest
11. Convert Celsius to Fahrenheit
12. Convert Fahrenheit to Celsius
13. Find Maximum of Two Numbers
14. Find Minimum of Two Numbers
15. Calculate Power of a Number
16. Check Leap Year
17. Calculate Area of Circle
18. Calculate Circumference of Circle
19. Find Area of Triangle
20. Find Perimeter of Triangle
21. Check Whether Triangle is Equilateral, Isosceles, or Scalene
22. Check Whether Triangle is Right-angled
23. Find Roots of Quadratic Equation
24. Check Armstrong Number
25. Check Palindrome Number
26. Reverse a Number
27. Count Number of Digits
28. Sum of Digits of a Number
29. Print ASCII Value of a Character
30. Convert Decimal to Binary
31. Convert Decimal to Octal
32. Convert Decimal to Hexadecimal
33. Convert Binary to Decimal
34. Convert Binary to Octal
35. Convert Binary to Hexadecimal
36. Convert Octal to Decimal
37. Convert Octal to Binary
38. Convert Octal to Hexadecimal
39. Convert Hexadecimal to Decimal
40. Convert Hexadecimal to Binary
41. Convert Hexadecimal to Octal
42. Implement Linear Search
43. Implement Binary Search
44. Sort an Array using Bubble Sort
45. Sort an Array using Selection Sort
46. Sort an Array using Insertion Sort
47. Sort an Array using Merge Sort
48. Sort an Array using Quick Sort
49. Find GCD of Two Numbers
50. Find LCM of Two Numbers
51. Implement Stack using Array
52. Implement Stack using Linked List
53. Implement Queue using Array
54. Implement Queue using Linked List
55. Implement Circular Queue using Array
56. Implement Circular Queue using Linked List
57. Implement Singly Linked List
58. Implement Doubly Linked List
59. Implement Circular Linked List
60. Reverse a Singly Linked List
61. Reverse a Doubly Linked List
62. Implement Hash Table
63. Implement Binary Search Tree (BST)
64. Implement Depth First Search (DFS)
65. Implement Breadth First Search (BFS)
66. Implement Graph using Adjacency Matrix
67. Implement Graph using Adjacency List
68. Check String Palindrome
69. Find Length of String
70. Concatenate Two Strings
71. Compare Two Strings
72. Convert Uppercase to Lowercase
73. Convert Lowercase to Uppercase
74. Count Vowels and Consonants in a String
75. Reverse a String
76. Find Substring in a String
77. Remove Spaces from a String
78. Find Frequency of Characters in a String
79. Copy String
80. Split a String by Space
81. Replace Substring in a String
82. Implement File Handling (Read, Write, Append)
83. Implement Command Line Arguments
84. Generate Random Numbers
85. Find Factorial using Recursion
86. Calculate Power using Recursion
87. Calculate Fibonacci Series using Recursion
88. Tower of Hanoi Problem
89. Find HCF using Recursion
90. Find Sum of Natural Numbers using Recursion
91. Implement Bubble Sort using Recursion
92. Implement Selection Sort using Recursion
93. Implement Insertion Sort using Recursion
94. Implement Merge Sort using Recursion
95. Implement Quick Sort using Recursion
96. Find NCR (Combinations)
97. Find NPR (Permutations)
98. Generate Pascal’s Triangle
99. Convert Infix Expression to Postfix Expression
100. Evaluate Postfix Expression

Scroll to Top