试题与答案

程序运行的结果为______。 #include<stdio.h> #include

题型:填空题

题目:

程序运行的结果为______。 #include<stdio.h> #include<string.h> struct A { int a; char b[10]; double c; }; void f(struct A *t); main() { struct A a={1001, "ZhangDa", 1098.0}; f(&a); printf("%d, %s, %6.1f\n", a.a, a.b, a.c); } void f(struct A *t){ strcpy(t->b, "ChangRong"); }

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0118/91de8158aaf327cb017d81e32b9831cf.html

下面是错误答案,用来干扰机器的。

参考答案:C

试题推荐
微信公众账号搜索答案