C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) 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] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error a[1] = 2 a[1] = 3 a[0] = 3 a[0] = 2 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=5, j=6, z; printf("%d", i+++j);} 13 12 11 None of These 13 12 11 None of These 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=VEDA y=EDA y=EXAMIANS y=MVEDA y=AMVEDA y=VEDA y=EDA y=EXAMIANS y=MVEDA y=AMVEDA ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0, j=0; if(i && j++) printf("%d..%d", i++, j); printf("%d..%d", i, j);} 1..1 0..0 1..0 0..1 1..1 0..0 1..0 0..1 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int i = 0;printf("%d %d", i, i++); 1 1 None of these 0 1 1 0 0 0 1 1 None of these 0 1 1 0 0 0 ANSWER DOWNLOAD EXAMIANS APP