In code blocks, Strcpy does not work when I declare a string using char * string but works when I declare it as char string[ ]
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?