C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) power(x, 2) power(2, x) sqr(x) pow(x, 2) pow(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?for(i=10; i++; i<15) printf("%d ", i); None of these Infinite loop 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 None of these Infinite loop 10 11 12 13 14 9 10 11 12 13 10 11 12 13 14 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Can't Say None of These will print Hello World Compiler Error Can't Say None of These will print Hello World Compiler Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of this program on an implementation where int occupies 2 bytes?#include void main(){ int i = 3; int j; j = sizeof(++i + ++i); printf("i=%d j=%d", i, j);} i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 i=5 j=2 i=4 j=2 the behavior is undefined i=3 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:main(){ int i = abc(10); printf("%d", --i);}int abc(int i){ return(i++);} 9 11 None of these. 10 9 11 None of these. 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the return value of the following statement if it is placed in C program? strcmp("ABC", "ABC"); 33 0 1 Compilation Error -1 33 0 1 Compilation Error -1 ANSWER DOWNLOAD EXAMIANS APP