0

Bro I can't understand variables

21st Jan 2023, 1:54 PM
Kamla Sajgotra
Kamla Sajgotra - avatar
3 odpowiedzi
+ 1
Variables are just a container to store data
21st Jan 2023, 1:56 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
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,
21st Jan 2023, 10:55 PM
D_Stark
D_Stark - avatar