【单选题】有以下程序 #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<stdio.h> struct st { int x;int *y;}*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,&dt[0],60,&dt[0],60,&dt[0],60,&dt[0],}; main() { p=aa; printf('%d/n',++(p->x));}
【单选题】有以下程序 #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, "...