不知道这个有没有……
typedef struct{
int sid;
char age;
}Student;
int main(void)
{
Student s1{17, 'F'};
printf("%d\n", s1); // 对吗
s1=15; // 可以吗
return 0;
}
typedef struct{
int sid;
char age;
}Student;
int main(void)
{
Student s1{17, 'F'};
printf("%d\n", s1); // 对吗
s1=15; // 可以吗
return 0;
}












