C++ Variables and Constants
C++ Variables and Constants
Constants
1. C++ Variables :)
• Variables in C++ is a name given to a memory location.
It is the basic unit of storage in a program.
• The value stored in a variable can be changed during
program execution.
• The name of the variable is case sensitive (ex Arr and arr both are
different variables).
• The name of the variable does not contain any whitespace and
special characters (ex #,$,%,*, etc).
• All the variable names must begin with a letter of the alphabet or
an underscore(_).