golang 2 dimensional array
data := [][]int32{
{11, 2, 4},
{4, 5, 6},
{10, 8, -12}
})
golang 2 dimensional array
data := [][]int32{
{11, 2, 4},
{4, 5, 6},
{10, 8, -12}
})
go Multidimensional arrays in Golang
package main
import "fmt"
func main() {
multiA := [2][2]int{
{19, 21},
{29, 46},
}
fmt.Println(multiA)
}
go multi-dimensional array
const a, b, c = 4, 5, 6
var arr [a][b][c]float64
arr[1][2][3] = 1
var x = arr[1][2][3]
fmt.Printf("%f\n", x)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us