Pergunta de entrevista da empresa Bloomberg

Difference between a pointer and a reference in C++? When would you use one instead of another?