国际象棋起源于()。
参考答案:印度
下面程序段的运行结果是 char *S="abcde"; s+=2;printf("%d",s);
A.cde
B.字符'c'
C.字符'c'的地址
D.无确定的输出结果
给出下列的代码,哪行在编译时可能会有错误 ① public void modify( ){ ② int i,j,k; ③ i = 100; ④ while( i > 0){ ⑤ j = i * 2; ⑥ System.out.println("The value of j is" + j); ⑦ k=k + 1 ⑧ } ⑨ }
A.line 4
B.line 6
C.line 7
D.line 8