WD Interview Question

In C++, what is the difference between a pointer and a reference?

Interview Answer

Anonymous

May 28, 2020

A pointer can be set to NULL and reassigned, while a reference cannot do either.

4