0
What effect do variable have on coding?
2 Respuestas
+ 1
himanshu variables are very useful in coding
for example you have to write price of a book in your code 10 times
you will have to write 10*times
but when u use variables,though you write variables 10 times
but the problem occurs when you have to change the price(all ten code lines) of your book in your code
but using variables only vhange the value of variable and boooooom everything is solved
0
It creates a space on memory to hold a value.
Example: int a = 10;
The memory referenced as a holds the value of 10 in the size of an Integer.