Which of the following is an invalid variable name?

9. Which of the following is an invalid variable name?

  1. _a = 1000
  2. 100_ = 1000
  3. _90 = 1000
  4. a_ = 1000

Answer: B) 100_ = 1000

Explanation:

A variable name cannot start from a digit. It can start from the underscore.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.