April 2022
Intermediate to advanced
1012 pages
38h 1m
English
Objectives
In this chapter, you’ll:
Learn what pointers are, and how to declare and initialize them.
Use the address (&) and indirection (*) pointer operators.
Compare the capabilities of pointers and references.
Use pointers to pass arguments to functions by reference.
Use pointer-based arrays and strings mostly in legacy code.
Use const with pointers and the data they point to.
Use operator sizeof to determine the number of bytes that store a value of a particular type.
Understand pointer expressions and pointer arithmetic that you’ll see in legacy code.
Use C++11’s nullptr to represent pointers to nothing.
Use C++11’s begin and end library functions with pointer-based arrays.
Learn various C++ Core ...