0
Bro I can't understand variables
3 Respostas
+ 1
Variables are just a container to store data
0
What type of data are you storing?
"int"
What do I need to refer to it?
"int var"
How do I assign a value to my variable of data type int?
"int var = 42;"
Now "var" is used to access the value in which it was assigned the value of 42,