ØPlaceholder for something.
ØCreating variable reserves a memory location (space), for storing values.
ØCompiler requires that we provide a Data Type for each variable we declare.
ØC++ provides : Built-in & user defined Data Types.
– Integer : a built in type, represents a whole number value. Keyword ‘int’
e.g. for defining a variable called ‘myVariable’ that can hold integer values, is as ;
int myVariable = 3;
For more, watch Video Tutorial in Nepali :