C Programming Which of the following function calculates the square of 'x' in C? power(2, x) 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) 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 II and III III and IV I, III and IV I and II I, II and III II and III III and IV I, III and IV I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char a[]="12345"; int i = strlen(a); printf("%d", ++i);} 5 7 6 None of These 5 7 6 None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:main(){ char *str1 = "abcd"; char str2[] = "abcd"; printf("%d %d %d", sizeof(str1), sizeof(str2), sizeof("abcd"));} 2 4 4 2 4 5 8 5 5 2 5 5 2 4 4 2 4 5 8 5 5 2 5 5 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:#define clrscr() 100void main(){ clrscr(); printf("%d", clrscr());} 1 100 Error 1 100 Error 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 RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR ERROR RED RED WHITE BLUE RED WHITE BLUE ERROR RED ERROR ERROR ANSWER DOWNLOAD EXAMIANS APP