使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 练习进度 0 / 0
随机练习 自定义设置练习量
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
Int main(void)
{
int x = 1, a = 0, b = 0;
switch(x)
case 0: b++;
case 1: a++;
case 2: a++; b++;
}
printf("a=%d,b=%d\n",a,b);
return 0;
Switch (x/10)
case 7:
case 6: printf("A");
case 5: printf("B");break;
default: printf("C");
#include<cstdio>
Int main()
{ int x=1,a=0,b=0;
switch(x){
case 2: a++;b++;
Switch (x*10)
case 9: x+=1; break;
case 10: x+=1;
case 11: x+=1;
default: x+=1;
int a = 2, b = -1, c = 2;
if(a < b)
if(b < 0)
c = 0;
else c++;
printf("%d\n",c);
#include <stdio.h>
float x, y;
scanf("%f", &x);
if (x < 0.0)y = 0.0;
else if ((x < 5.0) && (x != 2.0))y = 1.0 / (x + 2.0);
else if (x < 10.0)y = 1.0 / x;
else y = 10.0;
printf("%f\n", y);
int x = 100, a = 10, b = 20, ok1 = 5, ok2 = 0;
if (a < b)
if (b != 15)
if (!ok1)x = 1;
else if (ok2)x = 10;
x = -1;
printf("%d\n", x);
Int a = 0, b = 0, c = 0, x = 35;
If (!a)x--;
Else if (b);
If (c)x = 3;
Else x = 4;
Int x=1, y=012;
Printf(“%d”,y*x++);
Int x=023;
Printf("%d\n",--x);