Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Go
how to get the length of an array in go
KTetch Dureek
Programming language:
Go
2021-03-18 05:28:26
0
Q:
how to get the length of an array in go
kartika
Code:
Go
2021-08-15 00:15:37
array
:=[]int {
1
,
2
,
3
,
4
}
len
(array)
2
Tags
get
array
how
"length
Related
length of map golang
go non-constant array bound len(nums
golang get string length
go create list length
New to Communities?
Join the community