Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
package main import ("fmt") func main() { var x = 5 fmt.Printf("x is %b \n", x) // 101 fmt.Printf("3 is %03b \n", 3) // 011 x |= 3 fmt.Printf("x now is %03b \n", x) // 111 }
x is 101
3 is 011
x now is 111