Elearning , Interview Questions And Answers

Google

Ans: Compile Error. 7. What is the output of the Program? main() { int a=5; const int *p=&a; *p=200; printf("%d",*p); } Ans: Compile Error. 8. What is the output of the Program? #define SQ(x) x*x main() { int a=SQ(2+1); printf("%d",a); } Ans: 5. 9. What is the output of the Program? main() { struct t { int i; } a,*p=&a; p->i=10; printf("%d",(*p).i); } Ans: 10 10. This program will be Compiled? [Yes/No] zzz.c file ---------- /* This is zzz.c file*/ /*printf("tellapalli");*/ abc.c file ---------- main() {