有以下程序#include lt;stdio.hgt;struct stu{ int num; char name [10];int age;};Void fun(s

计算机 程序 已帮助 人

有以下程序

#include <stdio.h>

struct stu

{ int num; char name [10];int age;};

Void fun(struct stu *p)

{ printf("%s\n,p->name);}

main()

{ struct stu x[3]={ {01,”Zhang”,20},{02, ” Wang”,19},{03, ”zhao”,18} };

fun(x+2);

}

程序运行后的输出结果是

A)Zhang

B)Zhao

C)Wang

D)19

热搜:以下哪个程序是正确的病史采集的程序