CHAPTER 4

Literals, Variables,and Constants

Chapter Objectives

By the end of the chapter, readers will be able to:

images  Understand the types and use of literals.

images  Explore the role of data types in programming.

images  Describe some of the key primitive data types found in C++.

images  Understand the requirements and conventions used in naming identifiers.

  Differentiate ...

Get C++: An Active Learning Approach now with the O’Reilly learning platform.

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