I wrote a piece of code which is the following.#include
But I got segmentation error when I ran it. I know there must be something wrong in the first two lines of that function. But I can not
figure it out. how come it is not allowed to change one character of a string.
Anybody can explain it to me?
Thanks in advance