Let's see if you can correctly figure out the types of these (array or slice)
a := [4]int{}
a := []int{}
a := []int{1,2,3}
a := [4]int{}
a := make([]int, 10)
a := new([]int)
a := *new([]int)
a := *new([5]int)
a := new([5]int)[:]
Let's see if you can correctly figure out the types of these (array or slice)
a := [4]int{}
a := []int{}
a := []int{1,2,3}
a := [4]int{}
a := make([]int, 10)
a := new([]int)
a := *new([]int)
a := *new([5]int)
a := new([5]int)[:]
For further actions, you may consider blocking this person and/or reporting abuse
Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.
Shubham Kumar -
GitHubOpenSource -
Aviral Srivastava -
Mike Young -
Top comments (0)