I\'m perplexed as to why the following doesn\'t work:
char * f = \"abcdef\"; strcpy(f, \"abcdef\"); printf(\"%s\",f); char s[] = \"ffffd\"; strcpy(&s[0],
char * f = "abcdef"; defines a char pointer to "abcdef" which is located in read-only area so you can't write to this place
char * f = "abcdef";
char s[] = "ffffd"; defines a char array on the stack which is writable.
char s[] = "ffffd";