Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
对我来说令人困惑的问题:
C c1; C *p = &c1; delete p;
什么可能是输出?
真的什么都有。这是未定义的行为deleteing 未分配的内容new。
delete
new