Data Types and Variables in C++
In C++, data types specify the type and size of data that a variable can store. Because C++ is a strongly-typed and statically-typed language, every variable must have a declared data type before it can be used, and this type cannot change during runtime.
Understanding how data types map to memory allocation is foundational to writing optimized, high-performance C++ applications.
Video Explanation

1. Declaring and Initializing Variables
A variable is a named storage location in memory. To use a variable, you must first declare it. You can also optionally initialize it (assign an initial value) at the same time.
Declaration
Specifies the type and the identifier (name) of the variable. This tells the compiler how much memory to reserve.
VariableDeclaration.cpp
int age; // Reserves memory for an integer
double salary; // Reserves memory for a double-precision float
char grade; // Reserves memory for a single character