C Programming Which of the following function calculates the square of 'x' in C? power(2, x) power(x, 2) sqr(x) pow(2, x) pow(x, 2) power(2, x) power(x, 2) sqr(x) pow(2, x) pow(x, 2) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be printed after execution of the following code?void main(){ int arr[10] = {1,2,3,4,5}; printf("%d", arr[5]);} 0 6 Garbage Value 5 None of these 0 6 Garbage Value 5 None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char s[]="man"; int i; for(i=0; s[i]; i++) printf("%c%c%c%c ", s[i], *(s+i), *(i+s), i[s]);} mmmm nnnn aaaa Compiler Error mmm nnn aaa None of These mmmm nnnn aaaa Compiler Error mmm nnn aaa None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=1, j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; }} GOOD None of These Compiler Error GOOD BAD GOOD None of These Compiler Error GOOD BAD ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i=0; for(;i++;printf("%d", i)); printf("%d", i);} 1 11 Error 12 1 11 Error 12 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? All of these It cannot be applied to an expression It associates from the right It is a unary operator The operand can come before or after the operator All of these It cannot be applied to an expression It associates from the right It is a unary operator The operand can come before or after the operator ANSWER DOWNLOAD EXAMIANS APP