C Programming Which of the following function calculates the square of 'x' in C? power(2, x) pow(x, 2) pow(2, x) sqr(x) power(x, 2) power(2, x) pow(x, 2) pow(2, x) sqr(x) power(x, 2) 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);} the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 the behavior is undefined i=5 j=2 i=3 j=2 i=4 j=2 ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 6 Error 4 5 6 Error 4 ANSWER DOWNLOAD EXAMIANS APP
C Programming void main(){ int a=10, b; b = a++ + ++a; printf("%d %d %d %d", b, a++, a, ++a);}what will be the output when following code is executed? 22 14 12 13 22 13 14 14 22 11 11 11 22 12 12 13 12 10 11 13 22 14 12 13 22 13 14 14 22 11 11 11 22 12 12 13 12 10 11 13 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following is a complete function? None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); None of these int funct(int x) { return x=x+1; } void funct(int) { printf(“Hello"); } void funct(x) { printf(“Hello"); } int funct(); ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char *p; printf("%d %d", sizeof(*p), sizeof(p));} 2 2 1 1 2 1 1 2 2 2 1 1 2 1 1 2 ANSWER DOWNLOAD EXAMIANS APP