which of the following statements is not true about variables?



which of the following statements is not true about variables? 

  1. Variable names cannot start with numbers. For example, 1test is an invalid variable name. 
  2. The value stored by a variable cannot change. 
  3. Variables are a name for a spot in the computer's memory The value stored by a variable can be changed.

Answer: 2. The value stored by a variable cannot change is the correct option.

Reason: The value stored by a variable may not change.


Post a Comment

Previous Post Next Post
close