语句Print(a=2)And(b=-2)的输出结果是()A、TrueB、结果不确定C、-1D、False
语句Print(a=2)And(b=-2)的输出结果是()
- A、True
- B、结果不确定
- C、-1
- D、False
相关考题:
语句:print sgn(-6^2)+Abs(-6^2)+int(-6^2)的输出结果是( )A.-36B.1C.-1D.-7252967.以下语句a=sqr(3)print format(a,####.###)的输出结果是( )A.1.732B. 0001.732C.###1.732D. 1.7320
语句Print Sgn(-6^2)+Abs(-6^2)+Int(-6^2)的输出结果是( )。A.-36B.1C.-1S 语句Print Sgn(-6^2)+Abs(-6^2)+Int(-6^2)的输出结果是( )。A.-36B.1C.-1D.-72
语句Print Format(Int(12345.6789*100+0.5)/100,”0000,0.00”)的输出结果是( )。A.12,3456.8SX 语句Print Format(Int(12345.6789*100+0.5)/100,”0000,0.00”)的输出结果是( )。A.12,3456.8B.12,34.5C.12,3 45D.12,345.68
下面四个语句中,输出逻辑为“真”的是()。A.Print Not(3+51 And 32 Or 2 下面四个语句中,输出逻辑为“真”的是( )。A.Print Not(3+5<4+6)B.Print2>1 And 3<2C.Print 1>2 Or 2>3D.Print Not(1>2)
下面程序的输出结果是includeclass example{ int a;public: example(int b){a=b++; 下面程序的输出结果是 #include<iostream.h> class example { int a; public: example(int b){a=b++;} void print(){a=a+1; cout<<a<<" ";} void print()const{cout<<a<<" ";} }; void main() { example x(3); const example y(2); x.print(); y.print(); }A.2 2B.4 3C.4 2D.3 2
填空题语句print(3+28/2-12//3)的输出结果是()。