What is the usage of break statement in go programming language?
Answer Posted / Sri Ram Yadav
The `break` statement in Go can be used to exit a loop (for, for-range, or switch) at an early point. When `break` is encountered within a loop, control jumps to the end of the loop and continues with the next statement after the loop.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category