Very Important Theory Questions
1. What is the structure of a C program?
2. Difference between while and do-while loop.
3. Explain call by value and call by reference with examples.
4. What are the types of storage classes in C?
5. What is a pointer? How is it different from an array?
6. Difference between gets() and scanf() for string input.
7. What are the advantages of using functions?
8. What is recursion? Give a practical example.
9. Structure vs Union.
10. File handling functions in C: fopen(), fclose(), fprintf(), fscanf().
Very Important Programming Questions
1. Swap two numbers (using and without using a third variable).
2. Factorial of a number (using loop and recursion).
3. Check prime number.
4. Fibonacci series up to N terms.
5. Reverse a number.
6. Palindrome check (number and string).
7. Armstrong number check (like 153, 370, etc.).
8. Find largest and smallest element in an array.
9. Count vowels and consonants in a string.
10. Sort an array using bubble sort or selection sort.
11. Matrix addition and multiplication.
12. Use of structure to store and display student details.