What Are Variables? And What Does a Variable Mean? (Define variable)
C++ Variables Syntax
Identifiers in C++
Variable Types in C++
(local variables, global variable. Simply explain what they are)
Example: creating global and local variables
Data types of variables in C++
Declaring (creating) variables in C++
Example: creating C++ variable
Variable initialization
Example: initializing variables in C++
Naming Variables in C++: Naming Conventions
C++ Reserved Words
Locations where we can declare a variable in C++:
Local variables in C++:
Multiple variable declarations in C++:
C++ Variable Assignment
Example: assigning to variables in C++
C++ Variable Reading
Example: Reading a variable in C++
Constant Variables: What is the Constant Variable?
(Also explain that because they are constant we should not say constant variables because if it’s constant then it can’t be variable! So instead we say constant identifier)
Example: creating constant variables in C++
Difference between Constant and Variable
FAQ:
What is a variable in programming?
(here give a general explanation, like explain what you’ve just covered in the article and then mention that pretty much any programming language has the same concept)