#include <stdio.h>
#include <string.h>
main()
{ 
	struct  stu/*该类型的作用范围在本函数内*/
	{
		char  no[30];
		char  name[30];
		char  sex[5];
		float  grade; 
	};
	struct stu s1,s2;/*定义结构体变量*/
	strcpy(s1.no,"20170001");
	strcpy(s1.name,"zhang San");
	strcpy(s1.sex,"nan");
	s1.grade=425.5;
	printf("%s,%s,%s,%f\n",s1.no,s1.name,s1.sex,s1.grade);
}
