C Programming Which of the following function calculates the square of 'x' in C? power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming The statement int **a; is syntactically and semantically correct None of these. is illegal is legal but meaningless is syntactically and semantically correct None of these. is illegal is legal but meaningless 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=EDA y=VEDA y=AMVEDA y=EXAMIANS y=MVEDA y=EDA y=VEDA y=AMVEDA y=EXAMIANS ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} infinity loop 3 2 1 0 3 2 1 no output infinity loop 3 2 1 0 3 2 1 no output ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 4 5 6 7 8 9 10 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 4 5 6 7 8 9 10 1 2 3 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP