C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 10 11 12 13 14 None of these 10 11 12 13 14 15 Infinite loop 9 10 11 12 13 10 11 12 13 14 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;} -1 19 17 20 16 -1 19 17 20 16 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment:for(c=1, sum=0; c <= 10; c++){ scanf("%d", &x); if( x < 0 ) continue; sum += x;}What would be the value of sum for the input 1, -1, 2, -2, 3, -3, 4, -4, 5, -5 -5 30 1 10 15 -5 30 1 10 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming For 16-bit compiler allowable range for integer constants is ________? -32768 to 32767 -32767 to 32768 -32668 to 32667 -3.4e38 to 3.4e38 -32768 to 32767 -32767 to 32768 -32668 to 32667 -3.4e38 to 3.4e38 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?main(){ static int var = 5; printf("%d ", var--); if(var) main();} Infinite Loop None of these Compilation Error 5 5 5 5 5 5 4 3 2 1 Infinite Loop None of these Compilation Error 5 5 5 5 5 5 4 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE Syntax error NOITANIMAXE C No output at all. C NOITANIMAXE ANSWER DOWNLOAD EXAMIANS APP