柠檬试题库
search
首页
计算机
公务员
驾照
关于
1098
有以下程序 #include
#include
struct A { int a; char b[10]; double c; }; struct A f(struct A t); main() { struct A a={1001,"ZhangDa",1098.0}; a=f(a); printf("%d,%s,%6.1f\n",a.a,a.b,a.c); } struct A f(struct A t) { t.a=1002; strcpy(t.b,"ChangRong"); t.c=1202.0; return t; } 程序运行后的输出结果是
有以下程序 #include
#include
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) { t.a=1002; strcpy(t.b,"ChangRong"); t.c=1202.0; } 程序运行后的输出结果是
有以下程序 #include
#include
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) { t.a=1002; strcpy(t.b,"ChangRong"); t.c=1202.0;} 程序运行后的输出结果是
随机标签
from
xp
latency
上一次
test.c