单项选择题
有以下程序 main() {union {char ch[2]; int d; }S; S.d=0x4321; printf("%x,%x\n",S.ch[0],S.ch[1]); } 在16位编译系统上,程序执行后的输出结果是【 】。
A.21,43
B.43,21
C.43
D.21,00
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
以下4个程序中,完全正确的是【 】。
A.#include<stdio.h> main(); {/*programming*/ printf("programming!\n");}
B.#include<stdio.h> main() {/*/programming/*/ printf("programming!\n");}
C.#include<stdio.h> main() {/*/*programming*/*/ printf("programming!\n");}
D.include<stdio.h> main() {/*programming*/ printf("programming!\n");}
点击查看答案&解析
单项选择题
能将高级语言编写的源程序转换为目标程序的是( )。
A.链接程序
B.解释程序
C.编译程序
D.编辑程序
点击查看答案
相关试题
执行以下程序后,test.txt文件的内容是【...
有以下程序:int a=2;int f(int n)...
有以下程序:#include <string.h>stru...
有以下程序:struct STU{ char num[1...
以下程序中函数reverse( )的功能是将a所...