Generation

generate functionTue, 21 Mar 2023

example of multidimensional arrays

package main import "fmt" func main() { a := [][]int{{1, 2}, {3, 4}} fmt.Println(a[0][0]) b := 1 b += 1 fmt.Println(b) }

Questions about programming?Chat with your personal AI assistant