1.

Predict the output of below code: #include stdio.h int main() { struct site { char name[] = "GeeksforGeeks"; int no_of_pages = 200; }; struct site *ptr; printf("%d",ptr->no_of_pages); printf("%s",ptr->name); getchar(); return 0; }

A. GeeksforGeeks
B. Compilation Error
C. Runtime Error
D. Geeks
Answer» C. Runtime Error


Discussion

No Comment Found