const char* p = "ABC"; なのに
char *p="ABC";
でOKなの?