I noticed that when trying to modify a string declared in the first way the result is a segmentation fault at runtime.
Why is that? What was the logic behind this behavior? Is this standard C behavior?
I noticed that when trying to modify a string declared in the first way the result is a segmentation fault at runtime.
Why is that? What was the logic behind this behavior? Is this standard C behavior?