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 What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 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[0] = 2 a[1] = 2 a[1] = 3 Compilation error a[0] = 3 a[0] = 2 a[1] = 2 a[1] = 3 Compilation error a[0] = 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine the Final Output:void main(){ printf("\nab"); printf("\bsi"); printf("\rha");} asiha haasi hai absiha asiha haasi hai absiha ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 6 No output 8 Syntax error Runtime error 6 No output 8 Syntax error Runtime error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#include#define a 10void main(){ #define a 50 printf("%d", a);} 50 10 None of These Compiler Error 50 10 None of These Compiler Error ANSWER DOWNLOAD EXAMIANS APP