package main
import (
"fmt"
)
const (
c uint64 = 112
d uint64 = 2147483650111
)
func main() {
var e uint64 = 2147483650111
fmt.Println(byte(c), byte(d), byte(e))
}
ask everyone why the constant d
returns an error constant 2147483650111 overflows byte
when converting to byte
. While the variable e
is intercepted