【单选题】有以下程序 #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 struct S{ int a, b; } data[2]={10,100,20,200};main(){ struct S p=data[1]; printf("%d\n", ++(p.a) );}程序运行后的输出结果是( )A. 10 B. 11 C. 20 D. 21
【单选题】有以下程序 #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...