8. Pointers


In this chapter you’ll:

• Learn what pointers are.

• Learn the similarities and differences between pointers and references.

• Use pointers to pass arguments to functions by reference.

• Understand the close relationships between pointers and built-in arrays.

• Use pointer-based strings.

• Use built-in arrays.

• Use C++11 capabilities, including nullptr and Standard Library functions begin and end.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.