Skip to content
Quiz · Operators · lesson 4 of 9

Quiz — uint8 overflow

What does the program print?

GO
package main

import "fmt"

func main() {
    var b uint8 = 255
    b++
    fmt.Println(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