Answers for Go Language Online Test - Online Exam - Online Quiz - Mock Test
←Go Back to Online Practice TestQues. What is the correct way to create a new slice in Go? |
Option 1. []int{} |
Option 2. make([]int) |
Option 3. new([]int) |
Option 4. slice([]int) |
Ans. Option 1 |
Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website. |
Enter Reason |
Is it helpful?
Yes
No