C Programming Which of the following function calculates the square of 'x' in C? sqr(x) pow(2, x) power(x, 2) pow(x, 2) power(2, x) sqr(x) pow(2, x) power(x, 2) pow(x, 2) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming If integer needs two bytes of storage, then maximum value of an unsigned integer is 215 – 1 None of these 215 216 – 1 216 215 – 1 None of these 215 216 – 1 216 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;} RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR RED ERROR RED WHITE BLUE ERROR RED WHITE BLUE RED ERROR 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 0 3 2 1 infinity loop no output 3 2 1 0 3 2 1 infinity loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ char *msg = "hi"; printf(msg);} Error hi followed by garbage value hi Garbage Value h Error hi followed by garbage value hi Garbage Value h ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these It associates from the right It is a unary operator The operand can come before or after the operator It cannot be applied to an expression All of these ANSWER DOWNLOAD EXAMIANS APP