使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
c=a | (b<<2);
求C的值为
main()
{ int x,y,z;
x=10 , y=-15 , z=3;
if( (x+y) > z )
{ x=x*2 ; }
else
{ x=x*5 ; }
printf(“%d\n”,x);
}
执行后输出结果是_______。
{ ff
int x=5,y=4,z=3;
if (x < (y+z) )
{ printf("* * * *"); }
{ printf("# # # #"); }
{ int x=0,y=0,z=0;
switch(x)
{ case 0:x++;break;
case 1:y++;break;
case 2:z++;break;
printf(“%d\n”,x+y+z);
执行后输出结果是_______
{ float x=2.0, y;
if (x<0.0)
{ y=0.0; }
else if(x<10.0)
{ y=3.0; }
{ y=1.0; }
printf(“%f\n”,y);
#include<stdio.h>
void main()
{
int a=1, b=0;
if(!a)
{ b++; }
else if(a==0)
if(a)b+=2;
else b+=3;
printf(“%d\n”, b);
}程序运行后的输出结果是
{ int x=1,y=0;
if(!x)
{ y++; }
else if(x==0)
if(x)
y+=2;
y+=3;
printf(“%d\n”,y);
程序运行后的输出结果是
int i,n=1;
for (i=0;i<=10;i++)
if( (i%2) == 0 )
++n;
printf(“%d”,n);
for(x=2;x<=8 ; x++)
printf(“-------------”);
int a=1;
do{a=a*a;} while(!a);
int m=0,n=0;
for(n=0;n<10;n+=3)
{ m++;n++ ;}
printf(“%d\n”,m);
int x;
for(x=0;x<10;x++)
{x++;printf(“hello”);}
int k=0x2A;
printf(“%d\n”,k++);
}
{ int a=1,b=2;
for(a=1;a<8;a++)
b+=a;a+=2;
printf(“%d,%d\n”,a,b);
int a=1,b=2;
while(a<6)
b+=a; a+=2; b%=10;
#include <stdio.h>
main( )
{ int s=0, n;
for( n=0; n<3; n++ )
switch(s)
{ case 0:
case 1: s+=1;
case 2: s+=2; break;
case 3: s+=3;
default: s+=4;
printf(“%d,”,s);