Bird
0
0

Which part of a C program is mandatory for the program to start execution?

easy📝 Conceptual Q1 of 15
C - Basics and Execution Environment
Which part of a C program is mandatory for the program to start execution?
Acomments
Bheader files
Cmain() function
Dglobal variables
Step-by-Step Solution
Solution:
  1. Step 1: Understand program execution start point

    The C program always starts execution from the main() function.
  2. Step 2: Identify mandatory components

    Header files, global variables, and comments are optional for execution start.
  3. Final Answer:

    main() function -> Option C
  4. Quick Check:

    Program start = main() function [OK]
Quick Trick: Execution always begins at main() function in C [OK]
Common Mistakes:
  • Thinking header files start execution
  • Assuming global variables start execution

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More C Quizzes