C Programming Which of the following function calculates the square of 'x' in C? pow(2, x) pow(x, 2) power(x, 2) sqr(x) power(2, x) pow(2, x) pow(x, 2) power(x, 2) sqr(x) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ int a[5] = {5, 1, 15, 20, 25}; int i, j, m; i = ++a[1]; j = a[1]++; m = a[i++]; printf("%d, %d, %d", i, j, m);} 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 1, 2, 5 2, 1, 15 3, 2, 15 2, 3, 20 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following piece of code?for(i = 0; i<10; i++);printf("%d", i); Infinite loop Syntax error 0123456789 0 10 Infinite loop Syntax error 0123456789 0 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define prod(a,b) a*bvoid main(){ int x=3, y=4; printf("%d", prod(x+2, y-1));} 11 10 12 15 11 10 12 15 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1; while(i<=5) { printf("%d", i); if(i>2) goto here; i++; }}fun(){ here: printf("PP");} 12PP345 12PP Compiler Error None of These 12PP345 12PP Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following program fragment, and choose the correct onevoid main(){ int a, b = 2, c; a = 2 * (b++); c = 2 * (++b);} a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 a = 3, c = 8 b = 3, c = 6 a = 4, c = 8 a = 4, c = 6 b = 4, c = 6 ANSWER DOWNLOAD EXAMIANS APP