Pergunta de entrevista da empresa Goldman Sachs

Difference between a pointer and a reference in c++