In this article

C++ Literals

04/28/2015

2 minutes to read

In this article

Invariant program elements are called "literals" or "constants." The terms "literal" and "constant" are used interchangeably here. Literals fall into four major categories: integer, character, floating-point, and string literals.