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); 7 5 8 6 9 7 5 8 6 9 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[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 a[1] = 3 a[0] = 3 Compilation error a[1] = 2 a[0] = 2 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output of the program ?#includevoid main(){ printf(5+"Good Morningn");} Good M None of these Morning Good Morning Good M None of these Morning Good Morning 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");} Forget it None of These Ok here Error Forget it None of These Ok here Error ANSWER DOWNLOAD EXAMIANS APP
C Programming Find the output of the following program.void main(){ int i=065, j=65; printf("%d %d", i, j);} Syntax error 65 65 53 65 065 65 053 65 Syntax error 65 65 53 65 065 65 053 65 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 II and III I and II I, II and III III and IV I, III and IV II and III I and II I, II and III ANSWER DOWNLOAD EXAMIANS APP