阅读下列程序,则程序的输出结果为 【16】 。
#include"stdio.h"
struct ty
{ int data;
char c;};
main( )
{ struct ty a={30,’x’};
fun(a);
printf("%d%c",a.data,a.c);}
fun(struct ty b)
{ b.data=20;
b.c=’y’;}
题库:计算机等级考试
类型:填空题
时间:2017-07-03 17:17:07
免费下载:《填空》Word试卷
阅读下列程序,则程序的输出结果为 【16】 。
#include"stdio.h"
struct ty
{ int data;
char c;};
main( )
{ struct ty a={30,’x’};
fun(a);
printf("%d%c",a.data,a.c);}
fun(struct ty b)
{ b.data=20;
b.c=’y’;}
本题关键词:程序,输出结果,竣工结算程序,工程施工程序,复苏程序,工作程序,建设程序,程序变更,程序冲突,点火程序;