单项选择题
下列程序的运行结果为( ) #include<stdio.h> main() struc tdate int ……
下列程序的运行结果为( )
#include<stdio.h>
main()
struc tdate
int year,month,day;
)today;
printf("%d\n",sizeof(struct date));
A.8
B.6
C.10
D.12
热门试题
单项选择题根据下列的定义,能打印出字母P的语句是( ) struct stu char name[10]; int age; ; stmct stu s[10]= John ,11, Paul ,12, Mary ,11, adam ,12 :
A.printf("%c",s[3].name);
B.printf("%c",s[3].name[1]);
C.printf("%c",s[2].name[11]);
D.printf("%c",s[1].name[0]);