首页
普通专升本
成人高考
学位英语
在线刷题
最近学习
最近学习课程
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
最强大脑 · 3天挑战极限记...
副标题副标题副标题副
您现在位置:
模拟考场
>
湖北自学考试
>
公共课
>
计算机软件基础
>
浏览试题
[单选题]
下列程序的运行结果是( ) #include
main() {int i,j,x=0; for (i=0;i<2;i++) {x++; for (j=0;j<=3;j++) {if(j%2)continue; x++; } x++; } printf("x=%d\n",x); }
A
x=4
B
x=6
C
x=8
D
x=12
收藏
查看答案
参考答案
试题答案:
C
答案解释:
相关题目
下列程序的功能是输出如下图案(最下一行左侧无空格),填空完成程序。
下列程序的运行结果是( ) #include int d=1; fun(p) int p; {int d=5; d+=p++; printf("%d",d); } main() {int a=3; fun(a); d+=a++; printf("%d\n",d); }
设有一个10×10的对称矩阵A,采用下三角压缩存储方式,以行序为主,A的地址是 。
循环双链表节点结构为 prior data next 在指针q所指节点前面插入一个节点t的操作是: t->prior = q->prior; t->next=q: ___________, q->-prior=t;
写出下列程序的运行结果。
下列程序段的功能是( ) FILE fp; fp=fopen ("test.dat","ab");
C语言中,下列语句运算符的执行次序是( ) x=!a==b;
在具有n个顶点、e条边的无向图的邻接表中,所有边的链表中边节点的总数是 ( )
在下列选项中,没有构成死循环的是()
下列程序的运行结果是( ) #include main() {char b="ABCDEFGH"; printf("%c",b); }
热门试题
1.
查看材料谈谈两节诗之间相互呼应的联系。
2.
二尖瓣闭锁不全(??)
3.
Morgan Rees has always been a good businessman. He used to own three petrol stations and was busymost of the time. When he was 65, the normal retirement age, he decided that he didn't want tostop, so he carried on working for another two years. Eventually, when he was nearly 68, his wife,Dolly, asked him to retire because she wanted to enjoy their old age together. Reluctantly, hehanded over the business to his son.But he was unhappy. He didn't know what to do with himself. Although he read a lot of books and hewent on holiday to interesting places with his wife, he was bored and began to get depressedbecause he hated being retired.Then one day he saw an advertisement in the newspaper and, without telling his wife, he bought asmall crockery (陶器) factory. The next week he told his family. They were horrified and worried.They thought he was too old at 71 to start work again.He is now 76 and he has expanded the company considerably. He has increased the number of stafffrom 6 to 24 and he has found many new customers for the products. He has developed the exportmarket and has improved profits by 200%. He has opened a new design office and employed three youngdesigners. They have been all over the world to get new ideas, and one of them has gone to Francethis week to a major trade fair. Most importantly, he hasn't been bored since he bought thefactory.
4.
33.简述密尔“好政府”的基本标准。
5.
25.下列测试类型中,用于测试软件在最大任务量下持续正常运行能力的是
热门试卷
成人高考专升本《政治》模拟试卷
去做题
已有3418做题
2020年湖北成人高考专升本政治模拟试题三
去做题
已有2214做题
成人高考专升本政治考试模拟试题及答案(1)
去做题
已有1901做题
湖北成考专升本政治真题(2021年)
去做题
已有1366做题
湖北成考高起点语文真题(2021年)
去做题
已有1233做题