Which Statement Is Correct Among The Mentioned Statementsbr I #120
Which statement is correct among the mentioned statements?<br /> i. The for loop works faster than a while loop<br /> ii. for( ; ; )implements an infinite loop
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Looping Statements - For Loop Statements - Quiz No.1.
Which statement is correct among the mentioned statements?
i. The for loop works faster than a while loop
ii. for( ; ; )implements an infinite loop
i. The for loop works faster than a while loop
ii. for( ; ; )implements an infinite loop
Only i is correct
Only ii is correct
Both i and ii are correct
Both i and ii are incorrect