C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(2, x) pow(x, 2) power(2, x) power(x, 2) sqr(x) pow(2, x) pow(x, 2) power(2, x) power(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the following code's output if choice = 'R'?switch(choice){ case 'R' : printf("RED"); case 'W' : printf("WHITE"); case 'B' : printf("BLUE"); default : printf("ERROR");break;} ERROR RED RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR ERROR RED RED WHITE BLUE RED ERROR RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming What will happen after compiling and running following code?main(){ printf("%p", main); } Error 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. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program code?#include#define a 10void main(){ #define a 50 printf("%d", a);} None of These 50 Compiler Error 10 None of These 50 Compiler Error 10 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine output:void main(){ extern int i; i=20; printf("%d", sizeof(i));} Compiler Error Linker Error 20 2 Compiler Error Linker Error 20 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=3;for(;a;printf("%d ", a--);} no output 3 2 1 infinity loop 3 2 1 0 no output 3 2 1 infinity loop 3 2 1 0 ANSWER DOWNLOAD EXAMIANS APP