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