C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} None of these. 0.000000 Error 10 None of these. 0.000000 Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming If ASCII value of 'x' is 120, then what is the value of the H, ifH = ('x' – 'w' ) / 3; 2 3 0 1 2 3 0 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);} NOITANIMAXE C C No output at all. NOITANIMAXE Syntax error NOITANIMAXE C C No output at all. NOITANIMAXE Syntax error ANSWER DOWNLOAD EXAMIANS APP
C Programming Identify the correct output of the following code:void main(){ int w=10, x=5, y=3, z=3; if( (w < x ) && (y=z++) ) printf("%d %d %d %d", w, x, y, z); else printf("%d %d %d %d", w, x, y, z);} 10 5 4 3 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 4 10 5 4 3 10 5 3 4 10 5 5 5 10 5 3 3 10 5 4 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 2, 3, 20 3, 2, 15 1, 2, 5 2, 1, 15 2, 3, 20 3, 2, 15 1, 2, 5 2, 1, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?void main(){ int a[10]; printf("%d %d", a[-1], a[12]);} 0 0 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value 0 0 0 Garbage Value Garbage value 0 Code will not compile Garbage vlaue Garbage Value ANSWER DOWNLOAD EXAMIANS APP