Skip to content
Quiz · Operators · lesson 6 of 9

Quiz — && short-circuit

What does the program print?

GO
package main

import "fmt"

func check() bool {
    fmt.Print("check ")
    return true
}

func main() {
    fmt.Println(false && check())
}

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