MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this C code? #include int main() { char *str = "hello, world\n"; printf("%d", strlen(str)); } |
| A. | Compilation error |
| B. | Undefined behaviour |
| C. | 13 |
| D. | 11 |
| Answer» D. 11 | |