以下程序的输出结果是includevoid main( ){char x=040;cout 以下程序的输出结果是 #include<iostream.h> void main( ) { char x=040; cout < < (X < < 1) ;}A.100B.80C.64D.32

以下程序的输出结果是includevoid main( ){char x=040;cout < < (X < < 1) ;}A.100

以下程序的输出结果是 #include<iostream.h> void main( ) { char x=040; cout < < (X < < 1) ;}

A.100

B.80

C.64

D.32


相关考题:

从键盘上输入XXYYZZXYZWXP和X,以下程序的输出结果是【】。 include include 从键盘上输入XXYYZZXYZWXP和X,以下程序的输出结果是【 】。include<iostream.h>include<string.h>void main(){char*str,ch;int count=0,pos;cin>>str>>ch;pos=strlen(str)-1;while(pos>=0){if((str[pos])=ch)count++;pos--;}cout<<"count="<<count;}

以下程序的输出结果是()。includevoid func(char**m){++m:cout 以下程序的输出结果是( )。 #include<iostream.h> void func(char**m) { ++m: cout<<*m<<end1; } void main() { static char*a[]={"MORNING","AFTERTOON","EVENING"}; char**n: n=a; func(n); }A.为空B.MORNINGC.AFTERTOOND.EVENING

下列程序的运行结果是______。include class Base { public: void f(int x){cout 下列程序的运行结果是______。include<iostream.h>class Base{public:void f(int x){cout<<“Base:”<<x<<endl;});class Derived:public Base{public:void f(char*str){cout<<“Derived:”<<str<<endl;}};void main(void){Base*pd=ne

以下程序的输出结果是includevoid main( ){char x=040;cout 以下程序的输出结果是 #include<iostream.h> void main( ) { char x=040; cout << (X<<1) ;}A.100B.80C.64D.32

下面程序的输出结果是 ______。includevoidmain(){intx=20;inty=x;cout 下面程序的输出结果是 ______。 #include<iostream.h> void main(){ int x=20; int y=x; cout<<(x==y)<<“”; cout<<(x==y)<<end1: }A.20 20 20 20B.20 20C.1 1D.出错

以下程序的输出结果是 include void main( ) {int x=1,y=3; cout 以下程序的输出结果是#include<iostream.h>void main( ){int x=1,y=3;cout < < x++ < < ",";{int x=0;x+=y * 2;cout < < x < <"," < < y < <",";}cout < < x < < "," < < y;}A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

以下程序的输出结果是includevoid main( ){int x=1,y=3;cout 以下程序的输出结果是 #include<iostream.h> void main( ) {int x=1,y=3; cout << x++ << ","; {int x=0;x+=y*2; cout <<X <<"," <<y << ","; } cout << x <<","<< y; }A.1,6,3,1,3B.1,6,3,6,3C.1,6,3,2,3D.1,7,3,2,3

以下程序的输出结果是includevoid main(){char x=040;cout 以下程序的输出结果是 #include<iostream.h> void main() { char x=040; cout<<(x<<1);}A.100B.80C.64D.32

下面程序的输出结果是()。includevoid main(){int x=-1,y=5,z;z=(x++ 下面程序的输出结果是( )。#include<iostream.h>void main(){int x=-1,y=5,z;z=(x++<0) (y-->=0);cout<<x<<'\t'<<y<<'\t'<<z<<end1;}A.-1 5 0B.-1 4 1C.0 4 1D.0 4 0