Multiple choice

Which of the following is a valid string variable name?

  1. St

  2. Nme%

  3. Address$
  4. Zip Code$
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In BASIC programming, string variables are indicated by a dollar sign ($) suffix. This distinguishes them from numeric variables. A valid string variable name consists of letters followed by $, with no spaces in the name. Address$ follows this pattern correctly, making it a valid string variable name.