9951 explained code solutions for 126 technologies


golangHow to declare custom array


func main() {
  arr := [5]int{10,12,50,400,8}
}ctrl + c
func main() {

declare main function that will be launched automatically

[5]int

defines array of 5 int elements

{10,12,50,400,8}

list of values new array will have