C Programming Determine output of the following program code.#includevoid main(){ int a, b=7; a = b<4 ? b<<1 : ++b>4 ? 7>>1 : a; printf("%d %d", a, b);} None of these 3 7 8 3 3 8 7 3 None of these 3 7 8 3 3 8 7 3 ANSWER DOWNLOAD EXAMIANS APP
C Programming The address operator &, cannot act on R-values Local variables Arithmetic expressions Both of the above Members of a structure R-values Local variables Arithmetic expressions Both of the above Members of a structure ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be output after executing following code?#include# define a 10void main(){ printf("%d..", a); foo(); printf("%d", a);}void foo(){ #undef a #define a 50} 10..50 Error 0 10..10 10..50 Error 0 10..10 ANSWER DOWNLOAD EXAMIANS APP
C Programming #includevoid main(){ int *ptr, a=10; ptr = &a; *ptr += 1; printf("%d, %d", *ptr, a);} 10, 11 11, 10 10, 10 11, 11 10, 11 11, 10 10, 10 11, 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} Error -2 2 1 Error -2 2 1 ANSWER DOWNLOAD EXAMIANS APP
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 Compilation error 14 13 12 11 Compilation error 14 ANSWER DOWNLOAD EXAMIANS APP