C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 no output 3 2 1 0 infinity loop 3 2 1 no output 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi followed by garbage value Garbage Value h hi Error hi followed by garbage value Garbage Value h hi 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 None of These zero Error three None of These zero Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ register i=5; char j[]= "hello"; printf("%s %d", j, i);} hello 5 hello garbage value None of These Error hello 5 hello garbage value None of These Error ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column need not start on a new line comes before the first executable statement has # as the first character need not start on the first column need not start on a new line comes before the first executable statement has # as the first character 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);} 13 14 11 Compilation error 12 13 14 11 Compilation error 12 ANSWER DOWNLOAD EXAMIANS APP