Q33
Any C program
A.
Must contain at least one function.
AnswerB.
Need not contain any function.
C.
Needs input data.
D.
None of the above
Answer: Option A
Solution
Answer: Option A
Solution:
Option A: Must contain at least one function.Explanation: In C programming, every valid program must contain at least one function, which is typically the main() function. This function serves as the starting point of execution for the program.
Option B: Need not contain any function.
Explanation: This option is incorrect because every C program requires at least one function, typically the main() function, to execute.
Option C: Needs input data.
Explanation: While many programs do require input data, this is not a requirement for the structure of a C program itself. Input data is dependent on the specific requirements of the program being developed.
Option D: None of the above.
Explanation: This option is incorrect because Option A is correct—every C program must contain at least one function.
Conclusion:
Option A: Must contain at least one function.