Elearning , Interview Questions And Answers

Google

char a[]=("ABC...............xyz"); printf("%d",sizeof(a)); ans 26 27 25 9.main() { char a[] ="abc..................xyz", char *x; p=a; printf("%d",sizeof(*p)); p=p+10; printf("%d",sizeof(a); ans 26,26 26,16 16,26 10. main() { int x=1111; printf("%d",x); } ans 0 11.main() { int i=(int*)0x1000; printf(`%d",I); ans 1000 compilation error runtime error 12. main(int I) { printf("%d",I) } ans error


Hosted by www.Geocities.ws

1