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