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 2 1 1 1 1 2 2 2 2 1 1 1 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} Compiler Error GOOD GOOD BAD None of These Compiler Error GOOD GOOD BAD None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int i=0, j=1, k=2, m; m = i++ || j++ || k++; printf("%d %d %d %d", m, i, j, k);} 0 1 2 3 None of these 0 1 2 2 1 1 2 2 1 1 2 3 0 1 2 3 None of these 0 1 2 2 1 1 2 2 1 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} 0 1 complier error no error no output 0 1 complier error no error no output ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ptr is array of pointers to 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C ANSWER DOWNLOAD EXAMIANS APP