Pregunta de entrevista de Bentley Systems

what is a constructor in c++? difference between stack and heap? difference between pointer and reference?