Answers for "const iota golang"

Go
1

golang const iota

const (
	C0 = iota
	C1
	C2
)
fmt.Println(C0, C1, C2) // "0 1 2"
Posted by: Guest on March-23-2021

Browse Popular Code Answers by Language