IT GUIDE NOTES ON Data Structure & Algorithm
Variables
Before going to the definition of variables, let us relate them to old mathematical equations. All of us have solved many mathematical equations since childhood. As an example, consider the below equation:
We don’t have to worry about the use of this equation. The important thing that we need to understand is that the equation has names (x and y), which hold values (data). That means the names (x and y) are placeholders for representing data. Similarly, in computer science programming we need something for holding data, and variables is the way to do that.
For More notes on Data Structure & Algorithm , visit https://www.itguidekolkata.in/2021/04/DSAlgo.html