1. Which of the following is a type of programming language?
2. What is the main function of a compiler?
3. Which symbol represents a decision in a flowchart?
4. Which data type in C is used to store a single character?
5. Which operator has the highest precedence in C?
6. Which loop is guaranteed to execute at least once?
7. Which keyword is used to terminate a loop immediately?
8. How is a two-dimensional array declared in C?
9. What is the process of calling a function within itself called?
10. What type of storage class limits the scope of a variable to a block?
11. What is the correct syntax to declare a structure in C?
12. What is the major difference between structure and union?
13. How do you define a pointer in C?
14. What is the output of printf(" %s ", str); if str = "Hello"?
15. What mode opens a file for reading in C?
16. Which function is used to read a single character from a file?
17. What is the purpose of the break statement in a switch-case?
18. What does the term “formal argument” refer to in a function?
19. What is the result of 7 / 2 in C if both are integers?
20. Which function is used to write to a file in C?