what is a variable in cpp 1

what is a variable in cpp

Variable is simply a name or a label given to a memory location. 

Here is what the above code is Doing:
1. We are creating a variable called “name” and assigning it the value “John”.
2. We are creating a variable called “age” and assigning it the value 36.
3. We are creating a variable called “country” and assigning it the value “Norway”.

Similar Posts