int main() { Person pers1("Tod"); const char *p = pers1.getName(); p[0] = 'R'; // ERROR; Why? cout << p << endl; return 0; }