Multiple choice

How many storage locations will be reserved by the following statement? DIM N$(1 TO 15, 1 TO 6)

  1. 15

  2. 21

  3. 90

  4. 6

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

The DIM statement N$(1 TO 15, 1 TO 6) creates a two-dimensional string array. The first dimension has 15 elements (positions 1 through 15), and the second dimension has 6 elements (positions 1 through 6). Total storage locations = 15 × 6 = 90.