题目内容
(请给出正确答案)
[单选题]
以下程序的运行结果为()public class IfTest{public static void main(String args[]){int x=3;
A.Not equal
B.Equal
C.无输出
D.编译出错
答案
查看答案
A.Not equal
B.Equal
C.无输出
D.编译出错
第1题
A. 输出结果为 0
B. 运行出错
C. 输出结果为 null
D. 编译错误
第2题
A.输出结果为:valueis22.2
B.输出结果为:value is 2
C.输出结果为:value is 2.0
D.编译错误
第3题
A.192
B.29
C.25
D.编译出错
第4题
A.输出结果为 value is 99.99
B.输出结果为 value is 9
C.输出结果为 valueis9.0
D.编译错误
第5题
A.程序输出大写字母M
B.程序输出小写字母m
C.格式说明符不足,编译出错
D.程序运行时产生出错信息
第6题
A.运行后见输出China
B.运行后见输出Ch
C.运行后见输出Chi
D.编译出错
第7题
main
{int a=0,b=0;
a=10; /*给a赋值
b=20; 给b赋值 */
printf("a+b=%d\n",a+b);//输出计算机结果
}
程序运行后的输出结果是()。
A.a+b=10
B.a+b=30
C.30
D.出错
第8题
A. 输出结果为:0
B. 无输出
C. 编译错误
D. 输出null
第9题
A.a+b=10
B.a+b=30
C.30
D.出错