题目内容

有以下程序: #include<stdio.h> main() {int c; while((c=getchar())!='\n') {switch(c-'3') {case 0: case 1:putchar(c+4); case 2:putchar(c+4);break; case 3:putchar(c+3); case 4:putchar(c+3);break; }} printf("\n");} 从第一列开始输入数据(<CR>代表…个回车符):3845<CR>,则狴序输出结果为()。

A. 77889
B. 77868
C. 776810
D. 7.78866e+007

查看答案
更多问题

已知下列函数定义: fun(int*b,int c,intD){int k; for(k=0;k<c*d;k++) {*b=c+d; b++;} } 则调用此函数的正确写法是(假设变量a的说明为int a[10])()。

A. fun(*a,6,14);
B. fim(&a,6,8);
C. fun(a,8,4);
D. fun((int)a,8,6);

C语言中,凡未指定存储类别的局部变量的隐含存储类别是()。

A. 自动(auto)
B. 静态(statiC)
C. 外部(extern)
D. 寄存器(register)

执行下列程序时输入456<空格>789<空格>123<回车>,输出结果是()。 #include<stdio.h> main() {char m[80]; int c,i; scanf("%c",&C); scanf("%d",&i); scanf("%s",&m); printf("%c,%d,%s\n",c,i,m); }

A. 4.56789e+008
B. 4.78912e+006
C. 4,56,789,123
D. 4,56.789

中国进入社会主义社会的主要标志是

A. 中华人民共和国的成
B. 过渡时期总路线的提出
C. 第一届全国人民代表大会的召开
D. 社会主义三大改造的完成

答案查题题库