Runt time error during string manipulation on a character pointer but not on character array
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?