实例 C 语言赋值运算符 <<=

 
#include <stdio.h>
int main() {
  int x = 5;
  x <<= 3;
  printf("%d", x);
  return 0;
}
                    

输出结果

40