0

Can you assign multiple values to a variable and how (show me syntax)

18th Dec 2016, 7:35 PM
smartguy100
smartguy100 - avatar
2 Respostas
+ 2
No, you can't assign multiple values to a variable, but you can change its value during the code anytime you want...
18th Dec 2016, 7:40 PM
Alvy
Alvy - avatar
- 2
Of course 😊 you can assign multiple values to a variable the syntax is the data type the variable,, the values are separated by commas(,) eg int number=6,7,4;
24th Dec 2016, 4:43 PM
Wyclife Indiaka Wurima
Wyclife Indiaka Wurima - avatar