单选题 以下程序的输出结果是( )。 #include main() {int a=2,b; b=a<<2;printf(''%d\n'',b);}
【正确答案】 C
【答案解析】解析:表达式a<<2,把a向左移动2位,相当于扩大4倍。即2×2倍。