下列程序的运行结果为( )。 #include <stdio.h> main() { stmct date {int year,month,day; }today; printf("%d\n",sizeof(struct date)); }
A.8
B.6
C.10
D.12
第1题:
在32位机,VC编译器下,以下程序的运行结果是________________ #include <stdio.h> int main() { struct date { int year,month,day;}today; printf("%dn",sizeof(struct date)); }
第2题:
以下程序的运行结果是( )。 #include <stdio.h> main() { st,uct date {int year,month,day;}today; printf("%d\n",sizeof(struct date)); }
A.6
B.8
C.10
D.12
第3题:
以下程序的运行结果是 #include"stdio.h" main() { struct date { int year,month,day;}today; printf("%d\n",sizeof(struct date));}
A.6
B.8
C.10
D.12
第4题:
下列程序的运行结果为( )。 #include<stdio.h> main() { struct date {int year,month,day; }today; printf("%d\n",sizeof(struct date)); }
A.8
B.6
C.10
D.12
第5题:
有以下程序#include "stdio.h"main(){ struct date {int year,month,day;}today; printf("%d\n",sizeof(struct date));}程序的运行结果是A.6 B.8C.12 D.10
第6题:
以下程序的运行结果是
#include "stdio.h"
main()
{struct date
{int year,month,day;}today;
printf("%d\n",sizeof(struct date));
}
A.6
B.8
C.10
D.12
第7题:
下列程序的运行结果为( )
#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
第8题:
下列程序的运行结果是( )。
#include<stdio.h>
main()
{stmct date
{int year,month,day;
}today;
primf("%d\n",sizeof(struct date));
}
A.8
B.6
C.10
D.12
第9题:
有以下程序: Class Date { public: Date(int y,int m,mt d); { year=y; month=m; day=d; } Date(int y=2000) { year=y; month=10; day=1; } Date(Date &D) { year=d.year; month=d.month; day=d.day; } Void prin
A.2
B.3
C.4
D.5