FireEdgeX
0

LESSON 02 ยท C++

Types and variables

C++ declarations state a variable's type and its initial value.

6 min readIn progress

THE IDEA

Understand the concept

A type determines what values a variable can hold and what operations are available. Choose a type that matches the data, initialize variables before reading them, and use const when a value should not change.

WORKED EXAMPLE

See it in context

Example