若有定义语句int b=2;,则表达式(b<<2)/(3||b)的值是()。A.4B.8C.0D.2若有定义语句int b=2;,则表达式(b<<2)/(3||b)的值是()。A.4B.8C.0D.2
若有定义语句int b=2;,则表达式(b<<2)/(3||b)的值是()。
查看答案
有以下程序:
include<stdio.h>
main()
{ int a=12,C;
c=(a<<2)<<1;
printf("%d\n",c);
}
程序运行后的输出结果是()。
A. 3
B. 50
C. 2
D. 96
有以下程序:
include<stdio.h>
main()
{ char a[5][10]={"one","tw0","three","four","five"};
int i,j;
char t: 、
for(i=0;i<4;i++)
for(j=i+1;j<5;j++)
if(a[i][O]>a[j][0])
{t=a[i][O];a[i][O]=a[j][O];a[j][O]=t;)
puts(a[1]);
}
程序运行后的输出结果是()。
A. fwo
B. fix
C. two
D. owo
有以下程序:
includedstdio.h>
int f(int n);
main()
{int a=3,s;
s=f(a);s=s+f(a);printf("%dkn",s);
}
int f(int n)
{static int a=1;
n+=a++;
return n;
}
程序运行后的输出结果是()。
A. 7
B. 8
C. 9
D. 10
表示关系X<=Y<=Z的C语言表达式为()。A.(X<=Y)&&(Y<=Z)B.(X<=Y)AND(Y<=Z)C.(X<=Y<=Z)D.(X表示关系X<=Y<=Z的C语言表达式为()。A.(X<=Y)&&(Y<=Z)B.(X<=Y)AND(Y<=Z)C.(X<=Y<=Z)D.(X表示关系X<=y<=z的c语言表达式为()。
A. (X<=y)&&(y<=z)
B. (X<=y)and(y<=z)
C. (X<=y<=z)
D. (X