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...


How to write multiple strings in go programming?



How to write multiple strings in go programming?..

Answer / Purnima Tiwari

To write multiple strings in Go, you can use slices or arrays. Here's an example of a slice: `strings := []string{"Hello", "World"}`. Alternatively, you can join multiple strings with the `+` operator: `message := "Hello" + " World"`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Go Programming Language Interview Questions

Explain what gopath environment variable is?

1 Answers  


What a modular programming language is?

1 Answers  


How is len() different from cap() function?

1 Answers  


Does go (golang) support generic programming?

1 Answers  


What are packages in go programming?

1 Answers  


List some of the advantages of go language?

1 Answers  


What is a string literal?

1 Answers  


What is string literals?

1 Answers  


What are the different methods in go programming language?

1 Answers  


What do you know about modular programming?

1 Answers  


Does golang support operator overloading?

1 Answers  


Is go (golang) a case sensitive language?

1 Answers  


Categories