Skip to content

Glossary: C++ Basics

const

Also written: constant

A keyword that makes a variable unchangeable after it is initialized. It is also used for read-only references and member functions.

Where the book teaches it

Related terms

constexprconst referenceconst member function