有以下程序#include <stdio.h> #in

有以下程序

#include <stdio.h>
#include <string.h>
Struct A 
{
	int a; 
	char b[10]; 
	double c;
};
struct A f(struct A t);
main()
{
	struct A a = {1001,"ZhangDa",1098.0}; 
	a=f(a); 
	printf("%d,%s,%6.1f\n",a.a,a.b,a.c);
}
struct A f(struct A t)
{
	t.a = 1002;
	strcpy(t.b,"ChangRong");
	t.c=1202.0;
	return t;
}

程序运行后的输出结果是

答案
B

题目信息

题号:1065
题型:单选题
知识点:计算机二级
难度:普通