Why can't I overwrite an array (which passed to another function)with a dynamically allocated array?
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?