阅读下列程序,则程序的输出结果为______。 #include"stdio.h"
题型:填空题
问题:
阅读下列程序,则程序的输出结果为______。
#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’;
阅读下列程序,则程序的输出结果为______。
#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’;