使用当前浏览器访问考试宝,无法享受最佳体验,推荐使用 Chrome 浏览器进行访问。
更新时间: 试题数量: 购买人数: 提供作者:
有效期: 个月
章节介绍: 共有个章节
我的错题 (0道)
我的收藏 (0道)
我的斩题 (0道)
我的笔记 (0道)
顺序练习 0 / 0
随机练习 自定义设置练习量
题型乱序 按导入顺序练习
模拟考试 仿真模拟
题型练习 按题型分类练习
易错题 精选高频易错题
学习资料 考试学习相关信息
#include<stdio.h>
void main(int argc,char *argv[])
{
int iCount,iNum;
for (iCount=0,iNum=0;iCount<8;iCount++) {
if (iCount == 3) continue;
if (iCount == 5) break;
iNum++;
}
printf(“%d\n”,iNum);
int subFunction(char *pcMsg,int iNum)
strcpy(pcMsg,”555”);
return(0);
int main(int argc,char *argv[])
int iCount=3;
char caBuf[8];
subFunction(caBuf,iCount);
printf(“%d\n”,iCount);
#include <stdio.h>
void main()
char cChar;
cChar = 255;
printf("%d\n",cChar++);
main( )
int i,sum;
for(i=1;i<=3;sum++) sum+=i;
printf(“%d\n”,sum);
该程序的执行结果是
________。
main()
{char a=”1″,b=”2″;
printf(“%c,”,b++);
printf(“%d ”,b-a);
)
程序运行后的输出结果是________。
int m=12, n=34;
printf(“%d%d”,m++,++n);
printf(“%d%d ”,n++,++m);
main( ){
int x=23;do {
printf(“%d”,x--);
}while(!x);}
struct person{char name[9]; int age;};
struct person class[10]={“Johu”, 17,
“Paul”, 19 ,
“Mary”, 18,
“Adam 16,};
根据上述定义,能输出字母M的语句是
{ 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);
该程序的输出结果是
int c1=1,c2=2,c3;
c3=1.0/c2*c1;
则执行后,c3中的值是
{int m,n,p;
scanf(“m=%dn=%dp=%d”,&m,&n,&p);
printf(“%d%d%d\n”,m,n,p);
若想从键盘上输入数据,使变量m中的值为123,n中的值为456,p中的值为789,
则正确的输入是________。
{ int a,b,d=25;
a=d/10%9;
b=a&&(-1);
printf(”%d,%d\n”,a,b);