Vidyalelo
C++ Programming · Q44

Control Flow Statements in C++

Programming · C++ Programming · question 44

Q44

How many times will the following 'for' loop iterate: for (int i = 0; i < 5; ++i) in C++?

A.
4
B.
5
Answer
C.
6
D.
Infinite loop

Answer: Option B

Solution

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