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 |
What is a pointer in go?
Explain packages in go program?
How will you document libraries?
What a modular programming language is?
Who is the father of go (golang)?
Is go (golang) a case sensitive language?
What are methods in go?
Is go a case sensitive language?
What is type casting in go programming?
What are the several built-in supports in go programming?
How can variable type be checked at the runtime?
What is range keyword?