What will be the output of the following C code? [code]int main () { printf("starting of program\n"); printf("program exits\n");

What will be the output of the following C code?
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
 

Tìm kiếm

Back
Top