使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
#include <stdio.h>
int main (void)
{
int i, s = 0;
for (i = 1; i < 10; i += 2)
s += i + 1;
printf("%d\n", s);
return 0;
}
int i = 10;
while ( i > 3 ) {
i /=2;
int i = 2;
do {
i = i + 5;
} while (i < 15);
x=-1;
x=x*x;
} while(!x);
for (i=5;i;i--)
for (j=0;j<4;j++)
{......} //内循环体
int a, b, c;
a = 20; b = 30; c = 10;
if (a < b)a = b;
if (a >= b)b = c; c = a;
printf("a=%d, b=%d, c=%d\n", a, b, c);
int main(void)
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 s=6;
switch(++s)
{ case 6:
case 7:s+=2;
case 8:
case 9:s+=2;
if(a<b)
if(b<0)c=0;
else c+=1;
printf("%d\n",c);
#include<stdio.h>
int main( )
{ int c;
c=getchar( );
while(c!= '\n')
{ switch(c)
{ case '0' :
case '1' : putchar('A');
case '2' : putchar('B'); break;
case '3' : putchar('C');
default: putchar('X'); break;
当输入:24<回车>,程序的输出结果是( )。
if(x>y)
z=x;x=y;y=z;
{printf("%d",x);}else{printf("%d",y);}printf("%d",y);return 0;}以上程序的运行结果为