Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
If you are a programmer, you may have encountered a segmentation fault while working with strings. It is a common error that can be frustrat...