Vidyalelo
C Programming · Q82

Standard Library Functions

Programming · C Programming · question 82

Q82

What will the code display on compiling? void funccall() printf("this is funccall "); void main () atexit(funccall); printf("program starts "); printf("program ends ");

A.
program starts
this is funccall
program ends
B.
this is funccall
program starts
program ends
C.
program starts
program ends
this is funccall
Answer
D.
error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board