- 3

what is a variable

13th Sep 2016, 3:12 PM
3717aces
3717aces - avatar
4 Respostas
+ 6
A variable holds a value (of a determined type) that can be changed. int i; //declaration of variable i, which can store an int i = 10; //assignment of the value 10 to i i = i + 32; //assignment of the value 10+32=42 to i
13th Sep 2016, 3:18 PM
Zen
Zen - avatar
+ 3
Variable is a object that can change of value, without matter data type
13th Sep 2016, 5:34 PM
Alexander Huertas
Alexander Huertas - avatar
+ 1
A variable holds the value of the data type declared,that can be changed during runtime
15th Sep 2016, 6:00 PM
Rahul
Rahul - avatar
14th Sep 2016, 9:04 PM
Ivan G
Ivan G - avatar