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 6 8 9 7 5 6 8 9 ANSWER DOWNLOAD EXAMIANS APP
C Programming What will be the output?main() { char *p; p = "Hello"; printf("%cn",*&*p); } H Some address will be printed Hello None of these. H Some address will be printed Hello None of these. ANSWER DOWNLOAD EXAMIANS APP
C Programming A C variable cannot start with A special symbol other than underscore An alphabet Both of the above A number A special symbol other than underscore An alphabet Both of the above A number ANSWER DOWNLOAD EXAMIANS APP
C Programming C preprocessor Takes care of include files All of these Takes care of macros Takes care of conditional compilation Acts before compilation Takes care of include files All of these Takes care of macros Takes care of conditional compilation Acts before compilation ANSWER DOWNLOAD EXAMIANS APP
C Programming What is the output of the following program?#includeint c[10] = {1,2,3,4,5,6,7,8,9,10}; main(){ int a, b=0; for(a=0;a<10;++a) if(c[a]%2 == 1) b+=c[a]; printf("%d", b);} 20 30 24 None of these 25 20 30 24 None of these 25 ANSWER DOWNLOAD EXAMIANS APP
C Programming The output of the following program is:#define f(g,g2) g##g2void main(){ int var12=100; printf("%d", f(var,12));} 10012 Syntax error Runtime error 100 g##g2 10012 Syntax error Runtime error 100 g##g2 ANSWER DOWNLOAD EXAMIANS APP