What is the usage of goto statement in go programming language?
Answer / Munender Singh
The `goto` statement in Go is rarely used because it can make code harder to read and understand. It allows you to transfer control directly to a labeled statement elsewhere in the function. However, its use is discouraged in most cases.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the usage of continue statement in go programming language?
How will you access command line arguments in a go program?
What is the default value of a pointer variable in go?
What is go?
What is default value of a global and local variable in go?
What are channels in go language and how can you use them?
Who is known as the father of go programming language?
List some of the advantages of go language?
What is the syntax for for-loop in go?
What are interfaces to go language?
What is go interfaces?
What are the function closures?