C Programming What number would be shown on the screen after the following statements of C are executed?char ch; int i; ch = 'G'; i = ch-'A';printf("%d", i); 9 5 8 6 7 9 5 8 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 III and IV I, III and IV I and II II and III I, II and III III and IV I, III and IV I and II II and III I, II and III ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} will print Hello World Can't Say Compiler Error None of These will print Hello World Can't Say Compiler Error None of These ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ int c = - -2; printf("c=%d", c);} -2 2 Error 1 -2 2 Error 1 ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ static int var = 5; printf("%d ", var--); if(var) main();} 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop 5 4 3 2 1 5 5 5 5 5 None of These Infinite Loop ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.#define INC(X) X++void main(){ int x=4; printf("%d", INC(x++));} 5 6 Error 4 5 6 Error 4 ANSWER DOWNLOAD EXAMIANS APP