1. Write a C program to calculate product of digits of a number.
2. Write a C program to enter a number and print its reverse.
3. Write a C program to check whether a number is a palindrome or not.
4. Write a C program to find HCF (GCD) of two numbers.
5. Write a C program to find LCM of two numbers.
6. Write a C program to check whether a number is prime or not.
7. Write a C program to print all prime numbers between 1 to n.
8. Write a C program to check whether a number is an Armstrong number or not.
9. Write a C program to check whether a number is a Perfect number or not.
10. Write a C program to check whether a number is a Strong number or not.
11. Write a C program to print the Fibonacci series up to n terms.
12. Write a C program to print Pascal triangle up to n rows.
13. Star pattern programs – Write a C program to print the given star patterns.
14. Number pattern programs – Write a C program to print the given number patterns.
15. Find maximum and minimum array elements.
16. Count frequency of each element in the array.
17. Find sum of even numbers in an array.
18. Find sum and average of array elements.
19. Print maximum and minimum array element (duplicate of #15; keep if needed).
20. Search a number in an array.
21. Sort array in ascending order.
22. Count occurrences of numbers in an array.
23. C program to find largest and second largest elements in an array.
24. C program to find second largest and smallest elements of an array.
25. Write a C program to add two matrices.
26. Write a C program to perform scalar matrix multiplication.
27. Write a C program to multiply two matrices.
28. Write a C program to interchange diagonals of a matrix.
29. Write a C program to find the upper triangular matrix.
30. Write a C program to find the lower triangular matrix.
31. Write a C program to find the transpose of a matrix.
32. Student Structure Operations
• Create a structure called Student with members: name, age, and total marks.
• Write a C program to input data for two students, display their information, and
find the average of total marks.
33. Book Structure Management
• Create a structure named Book to store: title, author, and price.
• Write a C program to input details for three books, find the most expensive and
lowest priced books, and display them.
34. Concatenate two strings and print the resultant string.
35. Find the substring of a string.
36. Compare two strings.
37. Write a C program to copy contents from one file to another.
38. Write a C program to count characters, words, and lines in a text file.
39. Write a C program to convert uppercase to lowercase and vice versa in a text file.