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

Quiz — int plus float64

What happens when this program is built and run?

GO
package main

import "fmt"

func main() {
    a := 3
    b := 1.5
    fmt.Println(a + 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