3 ms·
You omitted a line. { object* p=NULL; p = new object(); p->foo() delete p; } // ?? Whats wrong with above 1) Missi
by aminuit 17y ago
You omitted a line.
{
object* p=NULL;
p = new object();
p->foo()
delete p;
}
// ?? Whats wrong with above
1) Missing a semi-colon. 2) The developer knowingly checked in broken code as evidenced by the comment. 3) In English the question mark comes at the end of the sentence.