Q. What value is stored in the intNum variable when the loop ends?
Code:
For intNum As Integer = 5 To 1 Step -1
MessageBox.Show("Hi")
Next intNum
β
Correct Answer: (A)
0
For intNum As Integer = 5 To 1 Step -1
MessageBox.Show("Hi")
Next intNum
You must be Logged in to update hint/solution