Go 다차원 배열

Jmnote (토론 | 기여)님의 2023년 5월 10일 (수) 09:57 판 (새 문서: ==개요== ;Go 다차원 배열 <syntaxhighlight lang='go' run> package main import "fmt" func main() { a := [2][3]int{ {1, 2, 3}, {4, 5, 6}, } fmt.Println(a) } </syntaxhigh...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

Go 다차원 배열
package main

import "fmt"

func main() {
	a := [2][3]int{
		{1, 2, 3},
		{4, 5, 6},
	}
	fmt.Println(a)
}

2 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}