Pregunta de entrevista de Bloomberg

A() = new B(); --- what does this statement do in C ?

Respuesta de la entrevista

Anónimo

15 may 2010

this is C++ not C A() is a function call return so called L-value, an object of type B, that is being assigned with value of a new object B.