char *p = new char[200]; char *p1 = p; char *p2 = &p[100]; delete [] p1;
顺便说一下,这不是测试或任何我真正需要知道的事情:)
c++ memory-management
c++ ×1
memory-management ×1