Question: An infinite loop is a loop that runs forever. Which one of the following loops is an infinite loop? Dim Count As Integer Count

An infinite loop is a loop that runs forever. Which one of the following loops is an infinite loop? Dim Count As Integer Count = 1 Do While Count > 1 MsgBox "Hi" Count = Count + 1 Loop Dim Count As Integer Count = 1 Do MsgBox "Hi" Loop While Count = 0 Dim Count As Integer Count = 1 Do While Count 0 MsgBox "Hi" Count = Count + 1 Loop
Step by Step Solution
3.52 Rating (166 Votes )
There are 3 Steps involved in it
To determine which loop is infinite lets examine each one 1 First Option vb Dim Count As Int... View full answer
Get step-by-step solutions from verified subject matter experts
