【单选题】有以下程序 #include #include struct S { char name[10]; }; void change(struct S *data, int value) { strcpy(data->name, "#"); value = 6; } main() { struct S input; int num = 3; strcpy(input.name, "OK"); chan...
【单选题】有以下程序 #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...
【单选题】有以下程序 #include #include struct S { char name[10]; }; void change(struct S *data, int value) { strcpy(data->name, "#"); value = 6; } int main( ) { struct S input; int num = 3; strcpy(input.name, "...
【单选题】有以下程序 #include #include struct S { char name[10]; }; void change(struct S *data, int value) { strcpy(data->name, "#"); value = 6; } int main( ) { struct S input; int num = 3; strcpy(input.name, "...