C++ Language/Variables

From Wikibooks, open books for an open world
Jump to navigation Jump to search

A variable is a name given to a piece of computer memory, in which you can store a value of a certain type.

  1. Lifetime and Scope
  2. Initialization
  3. Uniform Initialization
  4. Initialize without Constructor
  5. Decomposing-Auto
  6. Define at Same Time as Type