C Programming What will be the output of the following program? #include\ int main(){ extern int i; i = 20; printf("%ld ", sizeof(i)); return 0; } Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 Linker Error : Undefined symbol 'i' Depends on the Compiler 2 4 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 None of These i = -1, +i = 1 i = -1, +i = -1 i = 1, +i = 1 None of These i = -1, +i = 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 Run time error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program if the array begins at 65472 and each integer occupies 2 bytes?#includevoid main(){ int a[3][4] = {1, 2, 3, 4, 4, 3, 2, 1, 7, 8, 9, 0}; printf("%u, %u", a+1, &a+1);} None of these 65474, 65476 65474, 65488 65480, 65496 65480, 65488 None of these 65474, 65476 65474, 65488 65480, 65496 65480, 65488 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=-1, j=-1, k=0, l=2, m; m = i++ && j++ && k++ || l++; printf("%d %d %d %d %d", i, j, k, l, m);} 0 0 1 3 1 0 0 0 2 1 0 0 1 2 0 0 0 1 3 0 0 0 1 3 1 0 0 0 2 1 0 0 1 2 0 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 216 – 1 216 None of these 215 – 1 215 216 – 1 216 None of these 215 – 1 ANSWER DOWNLOAD EXAMIANS APP