C Program Structure 1

C Program Structure

1 / 15

What is the main purpose of the Documentation Section in a C program?

2 / 15

Where do we include header files like <stdio.h>?

3 / 15

What does #define PI 3.14 represent?

4 / 15

Which section stores variables declared outside all functions?

5 / 15

A user-defined function is created using which keyword?

6 / 15

Which function is the starting point of every C program?

7 / 15

Variables declared inside main() belong to which section?

8 / 15

Which section contains actual working code like calculations?

9 / 15

What is the purpose of printf()?

10 / 15

What is used to take input from the user?

11 / 15

What does the line return 0; in main() mean?

12 / 15

What is true about global variables?

13 / 15

Which symbol is used for comments in C?

14 / 15

Which of the following is a header file?

15 / 15

Which section is optional in a C program?

Your score is

The average score is 0%

0%

Scroll to Top