单项选择题

以下程序运行后,输出结果是______。
main()

char* d[]="ab","cde";
printf("%x",d[1]);

A) cde
B) 字符C的ASCII码值
C) 字符c的地址
D) 出错
<上一题 目录 下一题>
热门 试题

单项选择题
有以下定义和语句: struet workers int num;char name[20];char c; Struct int day;int month;int year;s; ; struct workers w,*pw; pw=&w; 能给w中year成员赋1980的语句是( )。
A.*pw.year=1980;
B.w.year=1980;
C.pw->year=1980
D.w.s.year=1980;
单项选择题
下面函数的功能是( )。 sss(s,t) char*s,*t; while(*s); while(*t) *(s++)=*(t++); return s;
A) 将字符串s复制到字符串t中
B) 比较两个字符串的大小
C) 求字符串的长度
D) 将字符串t续接到字符串s中
相关试题
  • 以下叙述中错误的是()
  • 以下程序的输出结果是( )。 #include...