What does assigning a value to a variable mean ? Also, how does it help ,as we have already defined the variable with a specific name ?
A variable is just a way to point to a certain bit of memory in our computer. That memory can hold whatever we tell it to. If we change the value of a variable, all we’re doing is changing what the computer’s memory stores at the address the variable points to. Changing a variable’s value doesn’t change its name, though.
Does this make sense?