Tuesday, 30 December 2014

Programming Quiz-40

Q: Which of the following statements are true about break statement?

Options:

1. The break statement can be used with if statement to terminate the execution of its block.
2. The break statement can only be used with loop statements and switch statement
3. The break statement terminates current iteration of the loop
4. None of above

Answer: 2

No comments:

Post a Comment