C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 20 Compiler Error Linker Error 2 20 Compiler Error Linker Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the given program?#includevoid main(){float num=5.6;switch(num){case 5:printf("5");case 6:printf("6");default : printf("0");break;}printf("%d", num);} Complier error 0 5.600000 6 5.600000 5 5.600000 Complier error 0 5.600000 6 5.600000 5 5.600000 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 11 11 11 12 10 11 13 22 12 12 13 22 14 12 13 22 13 14 14 22 11 11 11 12 10 11 13 22 12 12 13 22 14 12 13 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++) The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. The increment should always be ++k . The commas should be semicolons. There should be a semicolon at the end of the statement. The variable k can’t be initialized. The variable must always be the letter i when using a for loop. ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} 3 8 3 7 None of these 8 3 7 3 3 8 3 7 None of these 8 3 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 10 1 14 0 10 1 14 0 ANSWER DOWNLOAD EXAMIANS APP