Question PRG-CPP-0014
MediumWhat is the difference between a pointer and a reference in C++?
- A.
A reference must be initialised and can't be reseated or null; a pointer can be changed and can be null
- B.
A pointer can't be null
- C.
Sign up free to see the answer and a step-by-step explanation.