C Programming Which of the following function calculates the square of 'x' in C? power(2, x) sqr(x) pow(2, x) pow(x, 2) power(x, 2) power(2, x) sqr(x) pow(2, x) pow(x, 2) power(x, 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 4 6 Error 5 4 6 Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Some address will be printed. None of these. Will make an infinite loop. Error Some address will be printed. None of these. Will make an infinite loop. Error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following program code?#include void main(){ int i=3, *j, **k; j = &i; k = &j; printf("%d%d%d", *j, **k, *(*k));} 000 Garbage Value 444 333 433 000 Garbage Value 444 333 433 ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following statements?int b=15, c=5, d=8, e=8, a;a = b>c ? c>d ? 12 : d>e ? 13 : 14 : 15;printf("%d", a); 15 13 Garbage Value 14 12 15 13 Garbage Value 14 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Given b=110 and c=20, what is the value of 'a' after execution of the expression a=b-=c*=5? 450 -110 -10 10 110 450 -110 -10 10 110 ANSWER DOWNLOAD EXAMIANS APP