单项选择题

以下程序的输出结果是______。
structHAR
int x,y;structHAR*p;;
main()
h[0].x=1;h[0].y=2;
h[1].x=3;h[1].y=4;
h[0].p=&h[1].p=h;
printf("%d%d\n",(h[0].p->y));

A.12
B.23
C.14
D.32
<上一题 目录 下一题>
热门 试题

填空题
数据结构包括数据的逻辑结构、数据的 【2】 以及对数据的操作运算。
单项选择题
下面的程序执行后,文件test.t中内容是______。 #inc1ude<stdio.h> void fun(char*fname,char*st) FILE*myf;int i; myf=fopen(fname, w ) for(i=0;i<strlen(st);i++)fputc(st[i]myf); fdose(myf); main() fun( test.t new word );fun( test.t, hello, );
A.hello,
B.new wor1dhello
C.new world
D.hello,rld
相关试题
  • 以下程序段打开文件后,先利用fseek函数将...
  • 下面的程序可对指定字符串中的字符串进行从...
  • 若有定义语句char s[100],d[100...
  • 若有如下结构体说明: struct STRU int...
  • 下列程序的输出结果是 【9】 。 main(...