Question d’entretien chez Goldman Sachs

Given a C++ program to predict the output (constructor and destructor based C++ question)