What is the default value of a pointer variable in go?
Answer Posted / 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 |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category