Answer Posted / Ashwani Pandey
A slice in Go programming language is a reference to a contiguous sequence of elements, and it provides an efficient way to work with arrays without needing to know their exact length. It consists of three parts: the underlying array, its length (len), and the maximum index that can be used (cap).
| 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