有以下程序 main( ) {int i,t[][3]={9,8,7,6,5,4,3,2,1}; for(i=O;i<3;i++) printf(“%d”,t[2-i][i]); } 程序执行后的输出结果是()
第1题:
有以下程序: #include <stdio. h> main( ) { unsigned int a; int b=-1; a=b; printf(" % u", a);程序运行后的输出结果是( )。
A.-1
B.65535
C.32767
D.-32768
第2题:
有以下程序:程序运行后的输出结果是( )。
A.ABCDDEFEDBD
B.abcDDfefDbD
C.abcAAfefAbA
D.Abcddfefdbd
第3题:
有以下程序:程序运行后的输出结果是( )。
A.b,B,b,A
B.b,B,B,A
C.a,B,B,a
D.a,B,a,B
第4题:
有以下程序:
程序运行后的输出结果是( )。
A.11,12
B.12,13
C.13,14
D.14,11
第5题:
有以下程序:程序运行后的输出结果是( )。
A.3,3,3
B.2,2,3
C.1,2,3
D.1,l,3
第6题:
有以下程序 #include<stdio.h> main() { int a=5,b=lt; t=(a<<2)|b;printf("%d\n",t); } 程序运行后的输出结果是______。
A.21
B.11
C.6
D.1
第7题:
有以下程序 #include <stdio.h> main() { char a=4; printf("%d/n,a=a<<1); } 程序的运行结果是______。
A.40
B.16
C.8
D.4
第8题:
有以下程序
#include <stdio.h>
main( )
{ printf("%d\n",NULL); }
程序运行后的输出结果是
A.0
B.1
C.-1
D.NULL没定义,出错
第9题:
有以下程序:运行后的输出结果是( )。
A.Mtemoon
B.Aftemoon
C.Morning
D.orning
第10题:
有以下程序
A.A
B.B
C.C
D.D