执行下面的程序段,辅出结果为上【 】。 public class Q { public static void main (
执行下面的程序段,辅出结果为上【 】。 public class Q { public static void main (String argv[]) { int anar[]=new int[5]; System.out.pfintln(anar[0]); } }
执行下面的程序段,辅出结果为上【 】。 public class Q { public static void main (String argv[]) { int anar[]=new int[5]; System.out.pfintln(anar[0]); } }
第1题
执行下面的程序段,输出结果为【 】。 public class Q { public Static Void main(String args[]) { int anar[]=new int[5]; System.out.println(anar[0]); } }
第2题
执行下面的程序段后i和j的结果为 int i=1,j=10; do { if(i++>--j)continue; } while(i<5);
A.i=6,j=5
B.i=5,j=5
C.i=6,j=4
D.i=5,j=6
第3题
A.4
B.5
C.6
D.9
第4题
执行下面的程序段后X的值为______。 x=5 For I=I To 20 Step2 x=x+I\5 Next I
A.21
B.22
C.23
D.24
第6题
设有如下的程序段: char str[]="Hello"; char *ptr; ptr=str; 执行完上面的程序段后,*(ptr+5)的值为()。
A.'o'
B.'\0'
C.不确定的值
D.'o'的地址
第8题
A.'\0 '
B.'0'
C.不确定的值
D.'0'的地址
第9题
A.结果为true
B.结果为false
C.没有任何输出
D.程序出现编译错误