111k views
2 votes
HELP!!!!!!!

Which of the following statements is true about changing variables?

A. You can change the variable's value to any other value
B. You can' change a variable's value. You will have to create a new variable for the new value.
C. You can only change a variable's value to another value of the same data type
D. You have to delete a variable from the program before you can assign it a new value

User Erasmo
by
7.9k points

1 Answer

1 vote
For most languages (strongly typed, and a good way to avoid really stinky problems):

C. You can only change a variable's value to another value of the same data type
User Refresh
by
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.