77.9k views
2 votes
Variablesallow us to manipulate data through the ___________.

?Actual Value
?Reference
?Length
?Name

User Horkrine
by
4.8k points

1 Answer

5 votes

Answer:

Reference

Step-by-step explanation:

Variables provide reference to the stored data value.

For example:

int i = 0;

Here i is a variable of type int with an initial value of 0. i is a reference to this stored value 0. Now if I want to update the data, I can do so using this reference.

i = 1;

Now the reference is used to manipulate the stored data and change it to 1. In a similar manner all updates to the value can be done using the variable reference.

User Taleodor
by
4.8k points