主页
Go
Go 赋值运算符
demo_oper_ass11
运行 ❯
×
更改方向
保存代码
更改主题
package main import ("fmt") func main() { var x = 5 fmt.Printf("x is %b \n", x) // 101 x <<= 3 fmt.Printf("x now is %03b \n", x) // 101000 }
x is 101 x now is 101000