C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=11 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 11 14 Compilation error 13 12 11 14 Compilation error 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 = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 a = 4, c = 6 a = 4, c = 8 b = 3, c = 6 b = 4, c = 6 a = 3, c = 8 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 10 10, 11 11, 10 11, 11 10, 10 10, 11 11, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after compiling and running the following code?main() { char *p; printf("%d %d",sizeof(*p), sizeof(p));} 2 2 1 2 2 1 1 1 2 2 1 2 2 1 1 1 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 infinity loop 3 2 1 3 2 1 0 no output infinity loop 3 2 1 3 2 1 0 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 6 5 Compiler Error 0 7 6 5 Compiler Error 0 ANSWER DOWNLOAD EXAMIANS APP