使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
# include “stdio.h”
Main()
{int a=10,b=50,c=30;
A=a>30? 1:2;
B=b>30? 1:2;
C=c>30? 1:2;
Printf(“%d,%d,%d\n”,a,b,c);
}
则执行结果为()。
{
Int w=4,x=3,y=2,z=1;
Printf(“%d\n”,(w}?>
Int
A,b,s;
Scanf(“%d%d”,&a,&b);
S=a;
If(aS=b;S*=s;Printf(“%d\n”,s);})
{int a=2,b= -1,c=2;
If(aIf(b<0)C=0;ElseC+ =1;Printf(“%d\n”,c)})
Viod main()
{int a=1,b=0,c=0;
Switch(a)
{case 0 : c+ +;
Case 1 : b+ +;
Case 2 : b+ +;c+ +;
Printf(“b=%d,c=%d\n”,b,c);
Int x,y,z;
X=y=1;
Z=x+ +,y+ +,+ +y;
Printf(“%d,%d,%d”,x,y,z);
#include "stdio.h"
int i,b,k=0;
for(i=1;i<=5;i++)
b=i%2;
While(--b>=0)k++;
Printf("%d,%d",k,b);
int x=1;
while(i<20)
x=x*x;
x=x+1;
};
printf("%d",x);