C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} 0 5.600000 5 5.600000 6 5.600000 Complier error 0 5.600000 5 5.600000 6 5.600000 Complier error ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 1 0 0 1 0 0 None of these 1 1 1 0 0 1 0 0 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL p q Depends on the compiler nullp nullq x nullq where x can be p or nullp depending on the value of NULL ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char far *farther, *farthest; printf("%d..%d", sizeof(farther), sizeof(farthest));} 2..4 4..2 4..4 2..2 2..4 4..2 4..4 2..2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i = -1; +i; printf("i = %d, +i = %d", i, +i);} i = 1, +i = 1 i = -1, +i = 1 i = -1, +i = -1 None of These i = 1, +i = 1 i = -1, +i = 1 i = -1, +i = -1 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 ANSWER DOWNLOAD EXAMIANS APP