1.

What will be the output of the following C code?#include <stdio.h> int main() { char *ch = "Interview Mania n"; ch[9] = '.'; printf("%s n", ch); return 0; }

A. Segmentation fault
B. Compilation Error
C. Interview Mania
D. Undefined behaviour
E. None of these
Answer» B. Compilation Error


Discussion

No Comment Found