C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output if you will compile and execute the following c code?#include#define max 5void main(){ int i = 0; i = max++; printf("%d", i++);} 7 0 5 Compiler Error 6 7 0 5 Compiler Error 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 11 11 11 12 10 11 13 22 12 12 13 22 14 12 13 22 13 14 14 22 11 11 11 12 10 11 13 22 12 12 13 22 14 12 13 22 13 14 14 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program?void main(){ char str1[] = "abcd"; char str2[] = "abcd"; if(str1==str2) printf("Equal"); else printf("Unequal");} Unequal None of these. Equal Error Unequal None of these. Equal Error 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] = 3 Compilation error a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 Compilation error a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=10; i=!i>14; printf("i=%d", i);} 14 1 10 0 14 1 10 0 ANSWER DOWNLOAD EXAMIANS APP