Examveda

Any C program

A. Must contain at least one function.

B. Need not contain any function.

C. Needs input data.

D. None of the above

Answer: Option A

Solution (By Examveda Team)

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.

This Question Belongs to C Program >> Function

Join The Discussion

Comments (1)

  1. S P
    S P:
    6 years ago

    To print a floor value which formetsSpecifer can be used

Related Questions on Function