Pergunta de entrevista da empresa Bloomberg

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

Resposta da entrevista

Sigiloso

15 de mai. de 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.