当前位置:考试网  > 试卷库  > 计算机类  > 等级考试  > 计算机二级  > MySQL数据库程序设计  >  有以下程序:输出的结果是( )。 #include< struct stu { int num; char name[10] : int age;} void fun(struct stu*p) {printf("%sn" ,(*p).name);} tllain() { struct stu students[3]={{9801 ,"Zhang".20} , {9802 ,"Wang",19},{9803 ,"Zhao" ,1 8}} fun(students+2); }
试题预览

有以下程序:输出的结果是( )。

#include<

struct stu

{ int num;

char name[10] :

int age;}

void fun(struct stu*p)

{printf("%sn" ,(*p).name);}

tllain()

{

struct stu students[3]={{9801 ,"Zhang".20} ,

{9802 ,"Wang",19},{9803 ,"Zhao" ,1 8}}

fun(students+2);

}

A、Zhang
B、Zhao
C、Wang
D、18
查看答案
收藏
纠错
正确答案:

B

答案解析:

暂无解析

你可能感兴趣的试题

()是二级邮区中心局。

收件人迁移新址不明的邮件为无着邮件

用户有订阅报刊时,需要一次性缴纳全部报刊款

国际信函不属于监管范围,但内装有价证券的(),仍属监管范围

邮政通信质量指标是分析研究邮政通信企业管理状况和服务质量水平的重要依据之一。

热门试题 更多>
试题分类: 英语运用能力测试
练习次数:1次
试题分类: 英语运用能力测试
练习次数:2次
试题分类: 英语运用能力测试
练习次数:1次
扫一扫,手机做题