C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) pow(2, x) power(2, x) sqr(x) power(x, 2) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What does the following declaration mean?int (*ptr)[10]; ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ptr is a pointer to an array of 10 integers ptr is an pointer to array ptr is array of pointers to 10 integers ptr is an array of 10 integers ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the correct value to return to the operating system upon the successful completion of a program? 1 -1 Program do no return a value. 2 1 -1 Program do no return a value. 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ struct xx { int x=3; char name[] = "hello"; }; struct xx *s = malloc(sizeof(struct xx)); printf("%d", s->x); printf("%s", s->name); } Linking error Compiler Error 3 hello None of these Linking error Compiler Error 3 hello None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming What number will z in the sample code given below?int z, x=5, y= -10, a=4, b=2;z = x++ - --y*b/a; 6 9 11 10 5 6 9 11 10 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is the correct way of declaring a float pointer: float ptr; float *ptr; None of these *float ptr; float ptr; float *ptr; None of these *float ptr; ANSWER DOWNLOAD EXAMIANS APP