Skip to main content

Checkpoint: References and Pointers

beginner15 min readLesson 40 of 204

One graded challenge: choose the right access pattern and use nullptr safely.

Checkpoint — references and pointers. Pass the graded challenge below to finish the module.

The tests exercise each signature's contract: which parameters are const&, which are T* allowed to be null, and which return through references.