Answers for "how to get the length of an array in go"

Go
3

how to get the length of an array in go

array:=[]int {1,2,3,4}
len(array)
Posted by: Guest on September-23-2020

Code answers related to "how to get the length of an array in go"

Browse Popular Code Answers by Language