C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} complier error 1 -1 1 1 -1 -1 1 -1 complier error 1 -1 1 1 -1 -1 1 -1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#includevoid main(){ int y=10; if(y++>9 && y++!=10 && y++>11) printf("%d", y); else printf("%d", y);} 13 12 14 Compilation error 11 13 12 14 Compilation error 11 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the value of i and j after execution of following program?#includevoid main(){int i, j;for(i=0,j=0;i<10,j<20;i++,j++){printf("i=%d %t j=%d", i, j); }} Run time error 10 20 10 10 20 20 Run time error 10 20 10 10 20 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming The type of the controlling expression of a switch statement cannot be of the type ........ char long short int float char long short int float ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? power(2, x) sqr(x) pow(x, 2) power(x, 2) pow(2, x) power(2, x) sqr(x) pow(x, 2) power(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:#include void main(){ char *p = NULL; char *q = 0; if(p) printf(" p "); else printf("nullp"); if(q) printf("q"); else printf(" nullq");} p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL p q nullp nullq Depends on the compiler x nullq where x can be p or nullp depending on the value of NULL ANSWER DOWNLOAD EXAMIANS APP