C Programming Determine Output:void main(){ int c[] = {2.8,3.4,4,6.7,5}; int j, *p=c, *q=c; for(j=0;j<5;j++){ printf(" %d ", *c); ++q; } for(j=0;j<5;j++){ printf(" %d ", *p); ++p; }} 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 2.8 2.8 2.8 2.8 2.8 2.8 3.4 4 2.8 3.4 4 6.7 5 2.8 3.4 4 6.7 2 2 2 2 2 2 3 4 6 5 2 3 4 6 5 2 3 4 6 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It cannot be applied to an expression All of these It associates from the right The operand can come before or after the operator It is a unary operator It cannot be applied to an expression All of these It associates from the right The operand can come before or after the operator It is a unary operator ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output complier error 0 1 no error no output complier error 0 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Choose the correct output for the following program.#includevoid main(){ int a=10, b=11, c=13, d; d = (a=c, b+=a, c=a+b+c); printf("%d %d %d %d", d, a, b, c);} 50, 13, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 50, 13, 11, 13 50, 13, 24, 13 13, 10, 24, 50 13, 13, 24, 13 50, 13, 24, 50 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);} 3, 2, 15 2, 3, 20 2, 1, 15 1, 2, 5 3, 2, 15 2, 3, 20 2, 1, 15 1, 2, 5 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)++;} a[1] = 3 a[1] = 2 a[0] = 2 a[0] = 3 Compilation error a[1] = 3 a[1] = 2 a[0] = 2 a[0] = 3 Compilation error ANSWER DOWNLOAD EXAMIANS APP