题海让大学四年没有难题
白天模式登陆

题目详情

单选题 以下程序的输出是( )struct Student { char name[20]; int fScore[3];}student = {"stu",98.5,89.0,93.5}; void Display(struct Student *pStruct){ printf("Name:%s ",pStruct->name); printf("Score:%d ",(*pStruct).fScore[0]);}int main (){ Display(&student); return 0;}

A. Name:student Score:98.5

B. Name:stu Score:89.0

C. Name:stu Score:98.5

D. Name:stu Score:89.00

C/C++程序设计课程封面

学科:C/C++程序设计

时间:2024-06-04 18:42:09

Copyright © 2022 津ICP备2021001502号