Skip to content
Quiz · Variables and types · lesson 7 of 10

Quiz — zero values

What does the program print?

GO
package main

import "fmt"

func main() {
    var i int
    var s string
    var b bool
    fmt.Printf("%d %q %t\n", i, s, b)
}

Subscribe to take the course

The course is free. Sign in with Telegram and subscribe to the channel to open every lesson.

Sign in another way