Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumGoiota and typed enumsSingle-choice MCQ

What is the value of d in this iota-based enum?

package main import "fmt" const ( _ = iota a = iota * 10 b c = iota + 1 d ) func main() { fmt.Println(d) }