How can you format a string without printing?
Answer / Rajat Kuamr Choudhary
In Go programming language, you can format a string without printing by using fmt.Sprintf function which returns the formatted string as output instead of printing it directly.
| Is This Answer Correct ? | 0 Yes | 0 No |
Is “maps” value types?
How many ways we can pass parameters to a function in go programming?
Explain what gopath environment variable is?
What are packages in go programming?
What is range keyword in go?
Does go support method overloading?
How we can print type of a variable in go programming?
What is type casting in golang?
What are the built-in supports?
What is go programming language? Explain
What is a pointer in go?
How can you distribute tasks in golang?