Answer the questions below based on this Visual Basic 6.0 code:
Private Sub quizQuestion(choice As Integer) Dim index As Integer, side As Integer Dim diceSides(5) As Integer For index = 0 To 5 diceSides(index) = index + 1 Next index side = diceSides(choice) ... End Sub
The second Dim statement declares an array of six (how many) values.
six
Call quizQuestion(2)
(a) ...what would be the value of the formal parameter choice?
2
(b) ...what would be the value of the local variable side?
3