Q243
What will be the output of the following C code? int main () printf("starting of program "); printf("program exits "); exit(0); printf("program ends "); return(0);
A.
starting of program
program exits
program ends
program exits
program ends
B.
starting of program
program exits
Answerprogram exits
C.
starting of program
program ends
program ends
D.
error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board