Vidyalelo
Computer Science · Q264

Visual Basic MCQs: Test Your Proficiency in Visual Basic Programming

Engineering and GATE · Computer Science · question 264

Q264

How many times will the MessageBox.Show method in the following code be processed? For intNum As Integer = 5 To 1 Step -1 MessageBox.Show("Hi") Next intNum

A.
6
B.
5
Answer
C.
4
D.
7

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board