MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> int main() { char s[] = "Interveiw Mania"; s[9] = '.'; printf("%s n", s); return 0; } |
| A. | Interveiw Mania |
| B. | Compilation Error |
| C. | Interveiw.Mania |
| D. | Segmentation fault |
| E. | None of these |
| Answer» D. Segmentation fault | |