Why are strings declared as an array "char word[5] = "hello" modifiable but not strings declared as pointer (char *word = "hello")?
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?