C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} Compiler Error None of These Can't Say will print Hello World Compiler Error None of These Can't Say will print Hello World 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 ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR RED ERROR ERROR RED WHITE BLUE RED RED WHITE BLUE ERROR ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following correctly accesses the seventh element stored in arr, an array with 100 elements? arr[7] arr{6} arr{7} arr[6] None of these arr[7] arr{6} arr{7} arr[6] None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of the following statements are true after execution of the program.void main(){ int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++;} a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 Compilation error a[0] = 2 a[1] = 3 a[1] = 2 a[0] = 3 Compilation error ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of given program?#includevoid main(){ int i=1, j=-1; if((printf("%d", i)) < (printf("%d", j))) printf("%d", i); else printf("%d", j);} 1 -1 -1 1 -1 1 -1 complier error 1 1 -1 -1 1 -1 1 -1 complier error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int i; char a[]="�"; if(printf("%sn", a)) printf("Ok here n"); else printf("Forget itn");} Error Ok here None of These Forget it Error Ok here None of These Forget it ANSWER DOWNLOAD EXAMIANS APP