I came across this in Golang and the result is not so obvious to me, here is the code:
package main
import "fmt"
func main() {
a := 'a'
b := a | 'b'
fmt.Println(b)
}
Does it print a
? Does it print b
?
No, the result in the console is 99
, why?