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 syntax for for-loop in go?



What is the syntax for for-loop in go?..

Answer / Shweta

The syntax for a for-loop in Go is:n```gonfor i := range collection {n // Your code heren}n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

What is default value of a global and local variable in go?

1 Answers  


What is slice?

1 Answers  


Why does my go process use a lot of virtual memory?

1 Answers  


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

1 Answers  


What is l-value and r-value in go?

1 Answers  


How can you distribute tasks in go to different machines?

1 Answers  


What is syntax like in go?

1 Answers  


What are the built-in supports?

1 Answers  


Does go support pointer arithmetics?

1 Answers  


Is “maps” value types?

1 Answers  


What is type “bool” default value?

1 Answers  


What is go routine in go? How you can stop go routine?

1 Answers  


Categories