C Programming int a[5] = {1,2,3}What is the value of a[4]? 2 1 3 Garbage Value 0 2 1 3 Garbage Value 0 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 0 2 1 0 0 1 3 1 0 0 1 2 0 0 0 1 3 0 0 0 0 2 1 0 0 1 3 1 0 0 1 2 0 0 0 1 3 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?#include#define prod(a,b) a*bvoid main(){ int x=3,y=4; printf("%d", prod(x+2,y-1));} None of these 10 12 15 11 None of these 10 12 15 11 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 = 3, c = 8 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 b = 3, c = 6 a = 3, c = 8 b = 4, c = 6 a = 4, c = 8 a = 4, c = 6 b = 3, c = 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#includevoid main(){ int i = 10; void *p = &i; printf("%f", *(float *)p);} 10 None of these. 0.000000 Error 10 None of these. 0.000000 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char p[]="%dn"; p[1] = 'c'; printf(p, 65);} A 65 c Error A 65 c Error ANSWER DOWNLOAD EXAMIANS APP