单选题 有以下程序:
#include<stdio.h>
main()
{ int a=2, b=2, c=2;
printf("%d/n", a/b&c);
}
程序运行后的输出结果是______。
【正确答案】 A
【答案解析】[解析] 根据C语言运算符的优先级与结合性,先计算a/b,结果为1,再将a/b的结果与c做按位与运算,即1与2做按位与运算,其结果为0。