(beta) Login local_offer
tags
mail
contact us

What’s the output of the following GoLang code?

package main

import "fmt"

const (
	a = iota
	b = iota
	c = iota
)

const (
	d, e, f = iota, iota, iota
)

func main() {
	fmt.Println(a, b, c, d, e, f)
}
programming-golang go golang quiz
Nov 09, 2019 01:14:25 UTC