有以下程序:
#include< stdio.h >
main()
{
int a=1,b=2,c=3,x;
X=(a∧b)&c;
printf(''%d\n'',x);
}
程序运行后的输出结果是( )。
【正确答案】 A
【答案解析】本题考查位运算符以及相关运算,∧为按位或,&为按位与,那么a∧b为3,再与c按位与仍然为3,所以答案为A选项。