#include<stdio.h>
struct student
{
int num;
char name[15];
char sex;
int age;
float score;
}st1={1005,"韩影",'F',20,99.9}; /*结构体变量初始化*/
main()
{
printf("学生信息:\n");
printf("%d %s %c %d %5.1f\n",st1.num,st1.name,st1.sex,st1.age,st1.score);
}