Loading…

What is the usage of break statement, continue statement and goto statement?

Break statement: It terminates the “for” loop or switch statement and transfers execution following the “for” loop or switch.

Continue statement: It helps the loop to omit the remainder of its body and retest before repeating.

Goto statement: It transfers control to the statement

Suggest An Answer

No suggestions avaliable!

Latest post from Go programming interview questions

Ask Question