Tech Challenge
2026-07-24
🦫
Daily Tech Challenge
Go
medium
Question 1 of 5
What does this Go program print, given how iota behaves across the const block?
Example
package main
import "fmt"
const (
A = iota
B
C = iota * 10
D
)
func main() {
fmt.Println(A, B, C, D)
}Friday, July 24, 2026 · A new challenge drops every day