[程序填空题]结构体数组中存有三人的姓名和年龄,以下程序输出三人中最年长者的姓名和年龄。请填空 #include
struct man { char name[20]; int age; }person[]={ "LiLing",18, "YangHua",19, "ZhangPing",20 }; int main() { struct man *p,*q; int old=0; p=person; for( ;p < ;p++) if(old
age) {q=p; ;} printf("%s %d",q->name,q->age ); return 0; }