首页
文化综合T版
试题篮(
)
全景学练考
考点导航
[ 所有信息 ][ 单选题 ] 列表
单选题
多选题
判断题
填空题
解答题
解析题
设有定义
int x=2;
以下表达式中,值不为6的是( )。
* .**=*+*(此内容仅VIP会员可见)
* .*++,***(此内容仅VIP会员可见)
* .**=(*+*)(此内容仅VIP会员可见)
* .***,*+=*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下定义
int a;
long b;
double x,y;
则以下选项中正确的表达式是( )。
* .*%(***)(*-*)(此内容仅VIP会员可见)
* .*==*!=*(此内容仅VIP会员可见)
* .(***)%*(此内容仅VIP会员可见)
* .*=*+*=*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
表达式3.6-5/2+1.2+5%2的值是( )。
* .*.*(此内容仅VIP会员可见)
* .*.*(此内容仅VIP会员可见)
* .*.*(此内容仅VIP会员可见)
* .*.*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下能正确表述算式sin(2πr+30°)的C语言表达式是( )。
* .***(***.****+*.*****/***.*)(此内容仅VIP会员可见)
* .***(**π**+**)(此内容仅VIP会员可见)
* .***(***.****+**)(此内容仅VIP会员可见)
* .***(***.****+****.**/***.*)(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
设有定义: int x=7 ,y= 12;,则以下表达式值为3的是( )。
* .(*%=*)-(*%=*)(此内容仅VIP会员可见)
* .*%=(*%=*)(此内容仅VIP会员可见)
* .*%=*-*%*(此内容仅VIP会员可见)
* .*%=(*-*%*)(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
表达式:(int)((double)9/2)-9%2的值是( )。
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下程序段中的变量已定义为int类型,则
sum=pAd=5;
pAd=sum++,++pAd,pAd++;
printf("%d\n",pAd);
程序段的输出结果是( )。
* .*(此内容仅VIP会员可见)
*.*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
若有定义语句:
int x= 12,y=8,z;
在其后执行语句:
z=0.9+x/y;
则z的值为( )。
* .*.*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*.*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
设有以下程序段:
int y;
y=rand()%30+1;
则变量y的取值范围是( )。
* .*≤*≤**(此内容仅VIP会员可见)
* .*<*≤**(此内容仅VIP会员可见)
* .*<*<**(此内容仅VIP会员可见)
* .*<*≤**(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include <stdio.h>
main()
{
int i;
for(i= 1;i<=40;i++)
{
if(i++%5==0)
if(++i%8==0)printf("%d",i);
}
printf("\n");
}
执行后的输出结果是( )。
* .**(此内容仅VIP会员可见)
* .**(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .**(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有如下程序:
#include <stdio.h>
main()
{
int a =0,b=1;
if(++a==b++)
printf("T");
else
printf("F");
printf("a=%d,b=%d\n",a,b);
printf("\n");
}
程序运行后的输出结果是( )。
* .**=*,*=*(此内容仅VIP会员可见)
* .**= *,*=*(此内容仅VIP会员可见)
* .**= *,*=*(此内容仅VIP会员可见)
* .**=*,*=*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有如下程序:
#include <stdio.h>
main()
{
int a =0,b=1;
if(a++&&b++)
printf("T");
else
printf("F");
printf("a=%d,b=%d\n",a,b);
printf("\n");
}
程序运行后的输出结果是( )。
* .**= *,*=*(此内容仅VIP会员可见)
* .**=*,*=*(此内容仅VIP会员可见)
* .**= *,*=*(此内容仅VIP会员可见)
* .**=*,*=*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
表达式a+=a-=a=9的值是( )。
* .*(此内容仅VIP会员可见)
* .-*(此内容仅VIP会员可见)
* .**(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下叙述中正确的是( )。
* .*************,***************** **(此内容仅VIP会员可见)
* .*********************,************* *********(此内容仅VIP会员可见)
* .*******************,*********(此内容仅VIP会员可见)
* .***********,**********(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下能正确输出字符a 的语句是( )。
* .******("%*", "*");(此内容仅VIP会员可见)
* .******("%*", '*');(此内容仅VIP会员可见)
* .******("%*", "*");(此内容仅VIP会员可见)
* .******("%*", '*');(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
以下不能输出字符A的语句是( )。(注:字符A的ASCII码值为65,字符a 的ASCII码值为97。)
* .*******("%*\*",'*'-**);(此内容仅VIP会员可见)
* .******("%*\*",'*');(此内容仅VIP会员可见)
* .******("%*\*",**);(此内容仅VIP会员可见)
* .******("%*\*",'*'- *);(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
设有定义: double x=2.12;,以下不能完整输出变量x值的语句是 ( )。
* .******("*=%*.**\*",*);(此内容仅VIP会员可见)
* .******("*=%*\*",*);(此内容仅VIP会员可见)
* .******("*=%**\*",*);(此内容仅VIP会员可见)
* .******("*=%*.**\*",*);(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
main()
{
int k= 10;
printf("%4d,%o,%x\n",k,k,k);
}
程序的运行结果是( )。 (u代表一个空格)
* .**,**,*(此内容仅VIP会员可见)
* .****,***,*(此内容仅VIP会员可见)
* .***,**,*(此内容仅VIP会员可见)
* .****,**,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序
#include<stdio.h>
main()
{
int sum,pad,pAd;
sum=pad=5;
pAd=++sum,pAd++,++pad;
printf("%d\n",pad);
}
程序的输出结果是( )。
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
* .*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
有以下程序:
#include <stdio.h>
main()
{
int a= 1,b=1;
while(a--)
b--;
printf("%d,%d\n", a,b);
}
程序的运行结果是( )。
* .- *,*(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
* .- *,- *(此内容仅VIP会员可见)
* .*,*(此内容仅VIP会员可见)
收藏
纠错
加入试题篮
共18275记录
«上一页
1
...
221
222
223
224
225
226
227
228
...
914
下一页»
微信刷题
联系电话
手机
181-0729-8398
邮箱
254634089@qq.com
返回顶部