执行“printf("%c",’F’-2);”语句后得到的输出结果为H。()
执行“printf("%s%s%d","wei","rong",18);”语句后得到的输出结果为()。
执行“printf("%c",’A’+2);”语句后得到的输出结果为()。
若a为int型变量,则执行以下语句后的结果为( ) a=5; do{ cout<
已知字母a的ASCII十进制代码为97,则执行下列语句后的输出结果为().chara='a';a--;printf(%d,%c\n,a+'2'-'0',a+'3'-'0');
执行语句序列int i=0;while(i<25)i+=3;cout<<i;输出结果是()。A.24B.25C.27D.28
图中语句执行后,输出结果为5050()
12、设有宏定义:define f(x) (-x*2-3) 执行语句cout<<f(3+4)<<endl;则输出为()。
执行语句序列int i=0;while(i<25)i+=3;cout<<i;输出结果是A.24B.25C.27D.28
设有数组定义:int a[ ]= { 1l,22,33,44,55,66,77,88,99};则执行下列几 个语句后的输出结果是【 】设有数组定义:int a[ ]= { 1l,22,33,44,55,66,77,88,99};则执行下列几 个语句后的输出结果是【 】。 for();
下列程序执行后,输出的结果是()。int x=-5,y=0;while(x)y++;cout<<y<<end1;A.1B.2C.4D.5
语句cout<<setiosflagags(ios::showpos)<<125<<"/t"<<-125<<endl;的输出结果为【】。
执行下列代码,程序的输出结果是: cout <<″hex:″<< hex 255;> A、ff
语句cout<<(a=2)&&(b=-2);的输出结果是
有以下程序 main() {int i=10,j=1; cout<<i--<<","<<++j<<endl; 执行后输出结果是A.
执行语句序列:int i=0;while (i<25)i+=3;cout<<i; 输出结果是______ 。A.24B.25C.27D.8
有如下程序: include<iostream> using namespace std; class Base { public: void fun() { cout<<"Base::fun"<<endl; } }; class Derived: public Base { public: void tim() } ____________ cout<<"Derived:: fun"<<endl; } }; int main() { Derived d; d.fun(); return O; } 已知其执行后的输出结果为: Base::fun Derived::fun 则程序中下划线处应填入的语句是
执行下列语句序列: int i=0;while(i<25)i+=3;cout<<i; 输出结果是()。A.24B.25C.27D.28
对于语句″cout<<<1<<<<2;″的输出结果是()。
若有以下定义语句,程序运行后的输出的结果是______。 char s[]="9876",*p; for (p=s;p<s+2;p++) cout<<p<<endl;
下列语句的输出结果() cout<<strlen(″result\t\″en\n\0″);<br> A、10
若有如下类声明: class MyClass{ public: MyClass(){cout<<1;}};执行下列语句 MyClass a, b[2], *[2];程序的输出结果是()
【单选题】下面程序段执行后的输出结果是 。 char c [5]= {'a','b','0','c','0'}; cout<<c;
执行以下语句,输出结果是int x=3;do{ cout<<(x-=2)<<” “; }while(!–x)()