网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面正确的是( )。
A.4.1/2
B.3.2%3
C.3/2==1 结果为2
D.5.2/3 结果是1
参考答案
更多 “ 下面正确的是( )。A.4.1/2B.3.2%3C.3/2==1 结果为2D.5.2/3 结果是1 ” 相关考题
考题
研究下面的Java代码:switch(x){case1:System.out.println(1);case2:case3:System.out.println(3);case4:System.out.println(4);}当x=2时,运行结果是()。
A.没有输出任何结果B.输出结果为3C.输出结果是3和4D.输出结果是1、3和4
考题
下面程序的输出结果是()。includeusing namespace std;int main(){ int a=2,b=-1,c=2;
下面程序的输出结果是( )。 #include<iostream> using namespace std; int main() { int a=2,b=-1,c=2; if(a<b) if(b<0) c=0; else c+=1; cout<<c<<end1; return 0; }A.0B.1C.2D.3
考题
下面程序的结果是includeclass A{int a;public:A( ):a(1){}void showa( ){cout
下面程序的结果是 #include<iostream.h> class A { int a; public: A( ):a(1){} void showa( ){cout<<a;} }; class B { int a; public: B( ) :a(2) {}A.1B.2C.3D.程序有错误
考题
下面程序的正确输出结果是()。 main() { int a=2,b=-1,c=2; if(a<b) if(b<0) c=1; else c++; printf(“%dn”,c); }A.0B.1C.2D.3
考题
1、在Python中,下面几个函数的返回结果错误的是()A.int('B',16) 的结果是11B.chr(ord('D')+3) 的结果是GC.eval("2+3")的结果是5D.list(range(1,5,2)) 结果是 [1,3, 5]
考题
2、下面代码的输出结果是()a=1 def fun(a): a=a+2 return a print(a,fun(a))A.1,1B.1,3C.3,1D.3,3
热门标签
最新试卷
![瑞牛题库 章节练习 历年真题 模拟试卷](http://assets.51tk.com/51_sidebar_right_index.jpg)