C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 1 1 1 2 2 1 2 2 1 1 1 2 2 1 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 13 14 14 22 12 12 13 22 11 11 11 12 10 11 13 22 14 12 13 22 13 14 14 22 12 12 13 22 11 11 11 12 10 11 13 22 14 12 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output given program?#includevoid main(){int i = -10;for(;i;printf("%d ", i++));} -10 to -1 -10 to 0 Complier error -10 to infinite -10 to -1 -10 to 0 Complier error -10 to infinite 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=5 x=1 x=4 x=0 Error x=5 x=1 x=4 x=0 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What's wrong in the following statement, provided k is a variable of type int?for(k = 2, k <=12, k++) There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The commas should be semicolons. The variable must always be the letter i when using a for loop. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The increment should always be ++k . The commas should be semicolons. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the maximum number of dimensions an array in C may have? 20 50 2 8 Theoratically no limit. The only practical limits are memory size and compilers. 20 50 2 8 Theoratically no limit. The only practical limits are memory size and compilers. ANSWER DOWNLOAD EXAMIANS APP