C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed when this program is executed?int f(int x){ if(x <= 4) return x; return f(--x);}void main(){ printf("%d ", f(7)); } 1 2 3 4 Syntax error Runtime error 4 4 5 6 7 1 2 3 4 Syntax error Runtime error 4 4 5 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error mmm nnn aaa mmmm nnnn aaaa None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 13, 10, 24, 50 50, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 13, 10, 24, 50 50, 13, 24, 13 50, 13, 11, 13 50, 13, 24, 50 13, 13, 24, 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed if the following code is executed?void main(){ int x=0; for( ; ; ) { if( x++ == 4 ) break; continue; } printf("x=%d", x);} x=0 x=5 Error x=1 x=4 x=0 x=5 Error x=1 x=4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the final value of the digit?void main(){ int digit = 0; for( ; digit <= 9; ) digit++; digit *= 2; --digit;} 16 19 17 20 -1 16 19 17 20 -1 ANSWER DOWNLOAD EXAMIANS APP