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); 5 9 7 8 6 5 9 7 8 6 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } Hello None of these. Some address will be printed H Hello None of these. Some address will be printed H ANSWER DOWNLOAD EXAMIANS APP
C Programming Which of following is not a valid name for a C variable? Exam veda Both A and B Exam_veda Examians None of these Exam veda Both A and B Exam_veda Examians None of these ANSWER DOWNLOAD EXAMIANS APP
C Programming Determine Output:void main(){ char string[]="Hello World"; display(string);}void display(char *string){ printf("%s", string);} None of These Compiler Error will print Hello World Can't Say None of These Compiler Error will print Hello World Can't Say 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 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 ANSWER DOWNLOAD EXAMIANS APP
C Programming Consider the following code:void main(){ int a[5] = {6,8,3,9,0}, i=0; if(i != 0) { break; printf("%d", a[i]); } else printf("%d", a[i++]);}What is the output of the above program? 8 Syntax error No output Runtime error 6 8 Syntax error No output Runtime error 6 ANSWER DOWNLOAD EXAMIANS APP