遇到了一个错误
Process terminated with status -1073741510 (0 minute(s), 22 second(s))
#include <stdio.h> struct date { int year; int month; int day; }; struct stu { int no; char name[10]; char sex; float score; struct date birthday; }; int main( void ) { struct stu student[] = { { 102, "张三", 'M', 89.0, {1980,9,20} } , { 105, "李四", 'M', 78.5, {1980,8,15} } , { 112, "王五", 'F', 93.0, {1980,3,10} } }; printf( "%s", "No. Name Sex Score Birthday\n" ); for( size_t i=0; i!=sizeof(student)/sizeof(student[0]); ++i ) { printf( "%-7d", student[i].no ); printf( "%-10s", student[i].name ); printf( "%-5c", student[i].sex ); printf( "%-7.2f", student[i].score ); printf( "%d-%d-%d\n", student[i].birthday.year, student[i].birthday.month, student[i].birthday.day ); } return 0; }