Select from following answers:- hello will be displayed 5 times.
- No result
- Indefinite loop

- None of these
- All Above
Indefinite loop:
while loop is an entry controlled loop.
we have specified "yes" as the entry point and no
exit point has been mentioned.So "hello" will keep
on executing till some terminator(ex: break) is used.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator