Examveda

What will be the output of the following C code?
int main () 
{ 
   printf("starting of program\n"); 
   printf("program exits\n"); 
   exit(0);  
   printf("program ends\n");  
   return(0); 
}

A. starting of program
program exits
program ends

B. starting of program
program exits

C. starting of program
program ends

D. error

Answer: Option B


This Question Belongs to C Program >> Standard Library Functions

Join The Discussion

Related Questions on Standard Library Functions