C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) sqr(x) power(2, x) pow(2, x) pow(x, 2) power(x, 2) sqr(x) power(2, x) pow(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?void main(){ int a=10, b=20; char x=1, y=0; if(a,b,x,y){ printf("EXAM"); } } Nothing is printed exam is printed XAM is printed Compiler Error Nothing is printed exam is printed XAM is printed Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#includevoid main(){ char s[]={'a','b','c','n','c','\0'}; char *p, *str, *str1; p=&s[3]; str=p; str1=s; printf("%c", ++*p + ++*str1-32);} M P N None of These M P N None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming In C programming language, which of the following type of operators have the highest precedence Equality operators Logical operators Arithmetic operators Relational operators Equality operators Logical operators Arithmetic operators Relational operators ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 12 Error 11 1 12 Error 11 1 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=AMVEDA y=EXAMIANS y=EDA y=VEDA y=MVEDA y=AMVEDA y=EXAMIANS y=EDA y=VEDA ANSWER DOWNLOAD EXAMIANS APP