Answer Posted / Syed Suhail Alam
In Go programming language, if a global variable is not explicitly initialized, it will have the zero value. For numeric types (int, float), the zero value is 0. For boolean type, the zero value is false. For strings, the zero value is "" (an empty string).
| 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