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;
おそらく出力は何でしょうか?
本当に何でも。deleteで割り当てられなかったものは、未定義の動作newです。
delete
new