Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the usage of break statement in go programming language?



What is the usage of break statement in go programming language?..

Answer / 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

More Go Programming Language Interview Questions

What is type casting in golang?

1 Answers  


Is it recommended to use global variables in a program that implements goroutines?

1 Answers  


How to create a function in go?

1 Answers  


How you to access command line arguments passed to a go program?

1 Answers  


What gopath environment variable is?

1 Answers  


What is gopath environment variable?

1 Answers  


What is type casting in go programming?

1 Answers  


Explain why type assertion is used in go language?

1 Answers  


What is a pointer in go?

1 Answers  


Does go support pointer arithmetics?

1 Answers  


What is goroutine?

1 Answers  


How many ways we can pass parameters to a function in go programming?

1 Answers  


Categories