C Programming Which of the following function calculates the square of 'x' in C? power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) power(x, 2) pow(2, x) pow(x, 2) power(2, x) sqr(x) ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the correct output of the following program?#includevoid main(){ char str[] = "C EXAMINATION", rev[17]; int i = strlen(str), j=0; for( ; i>=0; rev[j++] = str[i--]) rev[j] = str[j] ; puts(rev);} Syntax error NOITANIMAXE NOITANIMAXE C C No output at all. Syntax error NOITANIMAXE NOITANIMAXE C C No output at all. ANSWER DOWNLOAD EXAMIANS APP
C Programming short testarray[4][3] = { {1}, {2,3}, {4,5,6}};printf("%d", sizeof(testarray));Assuming a short is two bytes long, what will be printed by the above code? 12 24 It will not compile because not enough initializers are given 6 7 12 24 It will not compile because not enough initializers are given 6 7 ANSWER DOWNLOAD EXAMIANS APP
C Programming Let x be an array. Which of the following operations are illegal?I. ++xII. x+1III. x++IV. x*2 I, II and III II and III I, III and IV III and IV I and II I, II and III II and III I, III and IV III and IV I and II ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){int a=1;if("%d=hello", a);} no error no output 1 complier error 0 no error no output 1 complier error 0 ANSWER DOWNLOAD EXAMIANS APP
C Programming A preprocessor command need not start on the first column comes before the first executable statement has # as the first character need not start on a new line need not start on the first column comes before the first executable statement has # as the first character need not start on a new line ANSWER DOWNLOAD EXAMIANS APP