What is the default value of a pointer variable in go?
Answer / Virendra Prakash
The default value of an uninitialized pointer in Go is 'nil' or 'nil interface{}'. However, if you explicitly declare a pointer without initializing it, it will have an undefined value.
| Is This Answer Correct ? | 0 Yes | 0 No |
Does go support method overloading?
What are the advantages of go?
What is type casting in go programming?
What gopath environment variable is?
What are packages in go program?
What is string types?
What is a string literal?
Who is the father of go (golang)?
What is workspace in go?
What is a modular programming language?
What is syntax like in go programming language?
Does go support pointer arithmetics?