Bentley Systems Interview Question

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