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 2, 1, 15 1, 2, 5 3, 2, 15 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} Compilation error a[0] = 2 a[1] = 2 a[0] = 3 a[1] = 3 Compilation error a[0] = 2 a[1] = 2 a[0] = 3 a[1] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ int const *p=5; printf("%d", ++(*p));} 6 Compiler Error Garbage Value 5 6 Compiler Error Garbage Value 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 1 complier error 1 -1 1 -1 -1 1 -1 1 complier error 1 -1 1 -1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on Arithmetic expressions Both of the above Members of a structure Local variables R-values Arithmetic expressions Both of the above Members of a structure Local variables R-values ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 13 15 12 14 Garbage Value 13 15 12 14 Garbage Value ANSWER DOWNLOAD EXAMIANS APP