主页
C 语言
C 位运算符
demo_bitwise_rightshift
运行 ❯
×
更改方向
保存代码
更改主题
#include
int main() { int a = 12; // 00001100 int result = a >> 2; printf("Result: %d\n", result); // 3 (12 / 2^2) return 0; }
Result: 3