#include<stdio.h>struct student{ int num; char name[20]; float score;}; int main(void){ struct student s1={20,"bowen",89.0}; printf("%d %s %f",s1.num,s1.name,s1.score);}
来源: http://www.bubuko.com/infodetail-2580985.html