Segmentation fault (core dumped) in C, The C Programming Language by K&R Exercise 2.5
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?