C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Linker Error Compiler Error 20 2 Linker Error Compiler Error 20 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 a = 4, c = 8 a = 3, c = 8 b = 4, c = 6 b = 3, c = 6 a = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of sum after the following program is executed?void main(){ int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 );} 0.25 9 1 0.5 2 0.25 9 1 0.5 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); 10 11 12 13 14 15 10 11 12 13 14 None of these 9 10 11 12 13 Infinite loop 10 11 12 13 14 15 10 11 12 13 14 None of these 9 10 11 12 13 Infinite loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Which command is used to skip the rest of a loop and carry on from the top of the loop again? break skip continue resume None of these break skip continue resume None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? system() getch() printf() start() main() system() getch() printf() start() main() ANSWER DOWNLOAD EXAMIANS APP