Multiple choice

'To' keyword is used in declaration of

  1. array

  2. constant

  3. integer

  4. double

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

In Visual Basic, the 'To' keyword is used in array declarations to specify a range, like 'Dim arr(1 To 10) As Integer'. This creates an array indexed from 1 to 10. The other options (constant, integer, double) use different declaration syntax without the 'To' keyword.