C语言结构体初始化 C语言结构体初始化有以下4种方法: 1、定义后初始化 typedef struct { int* age; int* height; int weight; }Student; void main() { int a = 10, b = 12; Student stu1; stu1.age = &a; stu1