According to me Option D.
Because it should be an error because *("INDIA" + 2 ) = 'D' and we are doing 'D' = 'I' which is not valid so Error ???
But answer is C
Attempting to write on Read-only location is a segmentation fault but not the error...
segmentation fault means Abnormal termination of Program.
read more on Segmentation fault https://en.wikipedia.org/wiki/Segmentation_fault
64.3k questions
77.9k answers
244k comments
80.0k users