单项选择题
下列程序的执行结果是______。
#include<stdio.h>
union
int i;
char c[2];
;
void main()
union un x;
x.c[0]=10;
x.c[1]=1;
printf("\n%d",x.i);
A.266
B.11
C.265
D.138
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
若进栈序列为1,2,3,4,进栈过程中可以出栈,则下列不可能的—个出栈序列是______。
A.1,4,3,2
B.2,3,4,1
C.3,1,4,2
D.3,4,2,1
点击查看答案&解析
单项选择题
以下程序的输出结果是______。 main() char str[12]='s','t','r','i','n','g'; printf( %d n ,strlen(str));
A.6
B.7
C.11
D.12
点击查看答案&解析
相关试题
下述函数统计—个字符串中的单词个数,单词...
以下函数的功能是计算s=1+1 21+1...
函数delete(s,i,n)的作用是从字符串s中...
下面程序的运行结果是 【15】 。 main...
下列程序执行后输出的结果是 【12】 。...