C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Compilation Error Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of these Compilation Error Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 14 Compilation error 11 12 13 14 Compilation error 11 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=3; switch(i) { default: printf("zero"); case 1: printf("one"); break; case 2: printf("two"); break; case 3: printf("three"); break; }} three zero None of These Error three zero None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} None of These hello garbage value Error hello 5 None of These hello garbage value Error hello 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} hi Error h Garbage Value hi followed by garbage value hi Error h Garbage Value hi followed by garbage value ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 None of these 216 – 1 216 215 – 1 215 None of these 216 – 1 216 215 – 1 ANSWER DOWNLOAD EXAMIANS APP