下列程序的运行结果为( )。
A.8
B.6
C.10
D.12
第1题:
下列程序的运行结果为( )。 #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
第2题:
下列程序的运行结果为( )。 #include<iostream.h> void main() { int a=2; int b=a+1; cou<<afo<<endl; }
A.0.66667
B.0
C.0.7
D.0.66666666
第3题:
下列程序的运行结果为( )。 #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
第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<iostream.h> void main() { int a=2; int b=a+1; cout<<a/b<<endl; }
A.0.66667
B.0
C.0.7
D.0.66666666…