问题详情

阅读下面语句,则执行后的输出结果为 【8】

#include "stdio.h"

main()

{char a,b;

for(a=′0′,b=′9′;a

printf("%c%c",a,b);

printf("\n");}

未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。 收藏该题
查看答案

相关问题推荐

Which reference code is displayed during the boot process that signals that an administrator may interrupt the boot process to enter the SMS Menu?()

A、517

B、B0G1

C、E1F1

D、00A8

Which statements are true regarding table compression? ()(Choose all that apply.)

A

It saves disk space and reduces memory usage.

B

It saves disk space but has no effect on memory usage.

C

It incurs extra CPU overhead during DML as well as direct loading operations.

D

It incurs extra CPU overhead during DML but not direct loading operations.

E

It requires uncompress operation during I/O.

病情观察中,可能提示肝性脑病的最早的临床表现是()

A、定向力障碍

B、性格改变和行为失常

C、睡眠障碍

D、神志丧失

E、昏睡

下面程序应能对两个整型变量的值进行交换。以下正确的说法是

main()

{int a=10,b=20;

printf("(1)a=%d,b=%d\n",a,b);

swap(&a,&b);

printf("(2)a=%d,b=%d\n",a,b);

}

swap(int p,int q)

{int t;

t=p;p=q;q=t;

}

A.该程序完全正确

B.该程序有错,只要将语句swap(&a,&b);中的参数改为a,b即可

C.该程序有错,只要将swap()函数中的形参p和q以及t均定义为指针(执行语句不变)即可

D.以上说法都不对

以下程序的输出结果是 【11】 。

int fun(int x,int y,int *p,int *q)

{ *p=x*y;

*q=x/y;}

main()

{int a,b,c,d;

a=4;b=3;

fun(a,b,&c,&d);

printf("%d,%d\n",c,d);}

联系客服 会员中心
TOP