C Programming Which operator has the lowest priority? + % && ++ || + % && ++ || ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} 2 Linker Error 20 Compiler Error 2 Linker Error 20 Compiler Error ANSWER DOWNLOAD EXAMIANS APP
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, 1, 15 1, 2, 5 2, 3, 20 3, 2, 15 2, 1, 15 1, 2, 5 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following function calculates the square of 'x' in C? sqr(x) power(x, 2) power(2, x) pow(x, 2) pow(2, x) sqr(x) power(x, 2) power(2, x) pow(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} Syntax error 10012 Runtime error 100 g##g2 Syntax error 10012 Runtime error 100 g##g2 ANSWER DOWNLOAD EXAMIANS APP
C Programming char* myfunc(char *ptr){ ptr+=3; return(ptr);}void main(){ char *x, *y; x = "EXAMVEDA"; y = myfunc(x); printf("y=%s", y);}What will be printed when the sample code above is executed? y=MVEDA y=VEDA y=AMVEDA y=EXAMIANS y=EDA y=MVEDA y=VEDA y=AMVEDA y=EXAMIANS y=EDA ANSWER DOWNLOAD EXAMIANS APP