Pergunta de entrevista da empresa PTC

some stuff about pointers, dereferencing in C++ constructors and a mathmetical problem