有以下程序#include <stdio.h>typedef struct{ i
2024-07-29 40次 计算机二级 反馈错误 加入收藏 正确率 : 100%
题目内容:
[试题]有以下程序
#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 ) 。
本题链接: