01 (Common Mistake)

The basic unit of a C program is a function
(True/False)

Answer: True
Explanation: The basic unit of a C program is a function. C is a structured programming language, and a C program consists of one or more functions. Every C program must include the main() function as the entry point, and other functions are organized through calls to establish logic.
Statements or expressions are components of functions, not structural units of the program. Pure C does not have the concept of classes; functions are the core of C.
02

A C program can consist of one or more functions
(True/False)

Answer: True
Explanation: N/A
03

C language can be recognized and executed by the computer without compilation
(True/False)

Answer: False
Explanation: C language must be compiled into machine language that the computer can recognize.
04

The main() function must be placed before other functions
(True/False)

Answer: False
Explanation: N/A
05

Every C program must have a main() function
(True/False)

Answer: True
Explanation: N/A
06

The position of the main() function in a C program is fixed
(True/False)

Answer: False
Explanation: N/A
07

The main() function in a C program must be at the beginning of the program.
(True/False)

Answer: False
Explanation: N/A
08

C language does not check syntax during compilation
(True/False)

Answer: False
Explanation: C language compilation checks syntax.
09

Comments in a C program can appear anywhere appropriate in the program
(True/False)

Answer: True
Explanation: C language comments generally have two forms: single-line comments and multi-line comments.
10

Multiple statements can be written in one line in a C program
(True/False)

Answer: True
Explanation: N/A