C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) power(x, 2) pow(2, x) pow(x, 2) sqr(x) power(2, x) ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are correct about the program below?#includevoid main(){ int size, i; scanf("%d", &size); int arr[size]; for(i=1; i<=size; i++) { scanf("%d", arr[i]); printf("%d", arr[i]); }} None of these The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. None of these The code is erroneous since the values of array are getting scanned through the loop. The code is erroneous since the statement declaring array is invalid. The code is correct and runs successfully. The code is erroneous since the subscript for array used in for loop is in the range 1 to size. ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the following code?#includevoid main(){ int s=0; while(s++<10) { if(s<4 && s<9) continue; printf("%dt", s); }} 1 2 3 10 4 5 6 7 8 9 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 1 2 3 10 4 5 6 7 8 9 10 None of these 1 2 3 4 5 6 7 8 9 4 5 6 7 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following comments about the ++ operator are correct? The operand can come before or after the operator All of these It associates from the right It cannot be applied to an expression It is a unary operator The operand can come before or after the operator All of these It associates from the right It cannot be applied to an expression It is a unary operator 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);} Compiler Error 10 None of These 50 Compiler Error 10 None of These 50 ANSWER DOWNLOAD EXAMIANS APP
C Programming Which is the only function all C programs must contain? start() printf() getch() main() system() start() printf() getch() main() system() ANSWER DOWNLOAD EXAMIANS APP