Is it true that short variable declaration := can be used only inside a function?
Answer Posted / Shashank Mohan Shukla
No, the short variable declaration (:=) can be used both in functions and outside of them at package level.
| 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