I want to know in this situation which break statement will be ideal. For the labelled break statement, as I know is inferior because it acts somewhat like goto statement in other languages. May be I am wrong, both may perform the same way. Please correct me.
posted 6 years ago
Not so much a case of which you should use as which of the two is worse . . .It is never necessary to use break, except after switch-case.