有以下程序 #include<stdio.h> main() {printf("%d\n",NULL);} 程序运行后的输出结果是
A.0
B.1
C.-1
D.NULL没定义,出错
第1题:
以下程序的输出结果是_______。 #include<stdio.h> main() { printf("%d\n",NULL); }
A.不确定的(因变量无定义)
B.0
C.-1
D.1
第2题:
有以下程序: #include <stdio.h> main( ) { intc = 35; printf( "% d \n" , e&c); } 程序运行后输出结果是( )。
A.0
B.70
C.35
D.1
第3题:
以下程序的输出结果是______。 #include<stdio.h> main() {printf("%d\n",NULL); }
A.不确定的值
B.0
C.-1
D.1
第4题:
有以下程序: #include <stdio.h> main() { printf("%d\n",NULL)"} 程序运行后的输出结果是( )。
A.0
B.1
C.-1
D.NULL没定义,出错
第5题:
有以下程序: #include<stdio.h> main() {printf("%d\n",NULL)); 程序运行后的输出结果是( )。
A.0
B.1
C.-1
D.NULL没定义,出错
第6题:
以下程序运行后的输出结果是( )。
include<stdio.h>
main()
{ int x=20;
printf("%d", 0<x<20);
printf("%d\n", 0<x && x<20);
}
第7题:
有以下程序: #include <stdio. h> main ( ) { char a :'a',b; printf( "% c," , + + a); printf("%c \n" ,b =a++); }程序运行后的输出结果是( )。
A.b,b
B.b,c
C.a,b
D.a,c
第8题:
有以下程序: #include<stdio.h> main() { printf("%d\n",NULL);} 程序运行后的输出结果是( )。
A.0
B.1
C.-1
D.NULL没定义,出错
第9题:
有以下程序
#include <stdio.h>
main( )
{ printf("%d\n",NULL); }
程序运行后的输出结果是
A.0
B.1
C.-1
D.NULL没定义,出错