#include <stdio.h>
struct n
{
int x;
char c;
};
void func(struct n b){
b.x=20,b.c='y';
}
void main(){
struct n a={10,'x'};
func(a);
printf("%d,%c",a.x,a.c);
}
为什么这个最后的结果是10,x求大神解答
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号