有以下程序#include <stdio.h>typedef struct{ int num;double s ; }REC;void fun1
有以下程序
#include <stdio.h>
typedef struct
{ int num;double s ; }REC;
void fun1(REC x ){x.num=23; x.s=88.5;}
main()
{ REC a={16,90.0 };
fun1(a);
printf("%d\n",a.num);
}
程序运行后的输出结果是 【 1 4 】 。