Variables
- A variable is a name of the memory location. It is used to store data. Its value can be changed, and it can be reused many times. It is a way to represent memory location through symbol so that it can be easily identified.
- A variable is a name of the memory location. It is used to store data. Its value can be changed, and it can be reused many times. It is a way to represent memory location through symbol so that it can be easily identified.
The example of declaring the variable is given below:
- int a;
- float b;
- char c;
Here, a, b, c are variables. The int, float, char are the data types.
Comments
Post a Comment