问题详情

有以下程序

#include <stdio.h>

main()

{

struct STU { char name[9]; char sex; double score[2];};

struct STU a={"Zhao",'m',85.0,90.0},b={"Qian",'f',95.0,92.0};

b=a;

printf("%s,%c,%2.0f,%2.0f\n", b.name, b.sex, b.score[0], b.score[1]);

}

程序的运行结果是

A)Qian,f,95,92

B)Qian,m,85,90

C) Zhao,f,95,92

D)Zhao,m,85,90

参考答案
您可能感兴趣的试题