MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int main() { char *str = "hello"; char str1[5]; strcpy(str, str1); printf("%s", str1); } |
| A. | Compilation error |
| B. | Undefined behaviour |
| C. | hello, world |
| D. | hello, wo 9 |
| Answer» E. | |