+ 1

is it possible to reassign a single variable multiple times in a program??

if yess ..thn what value will variable store ..

8th Aug 2016, 8:40 AM
zaheer
zaheer - avatar
3 Answers
0
I don't think so we can use $a many time times in a program .while do so it will replace by the new value being assigned .
8th Aug 2016, 10:17 AM
Sajen "The Empathy"
Sajen "The Empathy" - avatar
0
yes a variable can be used to multiple times in a program but it will store the last updated value to that variable
8th Aug 2016, 3:36 PM
Amar Agrawal
Amar Agrawal - avatar
0
Not neccesarily if you use an array
9th Aug 2016, 1:16 AM
GlennV