MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include <stdio.h> int main() { char *p[1] = {"hello"}; printf("%s", (p)[0]); return 0; } |
| A. | Compile time error |
| B. | Undefined behaviour |
| C. | hello |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |