#include"stdio.h" struct date {int year=2000; int month; int day; }; main() {struct date d; d.mo

admin2009-05-09  40

问题 #include"stdio.h"
   struct date
   {int year=2000;
   int month;
   int day;
   };
   main()
   {struct date d;
   d.month=1;
   d.day=31;
   printf("%d-%d-%d",d.year,d.month,d.day);
   }
   错误:______
   改正:______

选项

答案错误:int year=2000; 改正:inr year;

解析
转载请注明原文地址:https://jikaoti.com/ti/y6taFFFM
0

最新回复(0)