Multiple choice

Which of the following statements is FALSE regarding variable names?

  1. Variable names must start with a letter.

  2. Variable names cannot contain a '$' sign.
  3. Variable names cannot contain spaces.

  4. Variable name should be a maximum of 30 characters in length.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The name of a variable can contain $(dollar), _ (underscore) and # (pound).