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 %3b \n", 3) // 011 x &= 3 fmt.Printf("x is %3b \n", x) // 001 }
x is 101
3 is 11
x now is 1