char* GetName() { char ch='a'; /***** char* p=&ch; return p; *****/ return &ch; } char GetName() { char ch='a'; //char* p=&ch; return ch; }