Quiz on C Program Structure



1. What is the basic structure of a C program?
2. What does the #include directive do in a C program?
3. What is the purpose of the main() function in a C program?
4. Which of the following is a valid comment in C?
5. What is the purpose of the return statement in the main() function?

Advertisements