腹部手术后早期恶心、呕吐的常见原因是()
A.颅内压增高
B.麻醉反应
C.术后腹胀
D.肠梗阻
E.低血钾
第1题
有以下程序: #include <iostream> #include <fstream> using namespace std; int main () { ofstream ofile; char ch; ofile.open ("abc.txt"); cin>>ch; while (ch!='#' ) { cin>>ch; ofile.put(ch);
A.程序编译时出错
B.abc#
C.abc
D.#
第2题
有以下程序: #include <iostream> #include <string> using namespace std; class base { private: char baseName[10]; public: base () { strcpy (baseName, "Base"); } virtual char *myName() {
A.DerivedBase
B.BaseBase
C.DerivedDerived
D.BaseDerived
第3题
运行程序,程序运行结果是(). #include <iostream> using namespace std; int main() { char a[3]={’a’,’b’,’c’},*p=a+1; cout<
< <endl; return 0;> A、b
B、bc
C、abc
D、不确定
</endl;>
第4题
运行程序,程序输出结果是(). #include <iostream> using namespace std; int main() { char str[100]="program",*p=str; str[3]=0; cout<
< <endl; return> A、ogram
B、r
C、o
D、pro
</endl;>
第5题
以下程序的输出结果是 。 #include <iostream> #include <iomanip> using namespace std; void main() { int i; for (i=1;i>=0;) cout< <i--;>
第6题
下列程序的输出结果是【 】。
include<iostream>
include<cstring>
using namespace std;
void fun(const char *s,char &c){c=s[strlen(s)/2];}
int main()
{
char str[]="ABCDE";
char ch=str[1];
fun(str,ch);
cout<<ch;
return 0;
}
第7题
以下程序的运行结果是 。 #include <iostream> using namespace std; void main() { int a = 0, b = 1; for (; a<5 5="=" ; a++, b++) { if ((a+b ) % 0) continue; b +="a;" } , \n";>
第8题
下面程序输出的结果是()。 #include<iostream> using namespace std; void main() { char ch[][8]={"good","better","best"}; for(int i=1;i<3;++i) { cout<<ch[i]<<endl; } }
A.good better
B.better best
C.good best
D.good
第9题
以下程序的执行结果为【 】。
include<iostream>
using namespace std;
void overload(int num)
{
cout<<num<<end1;
}
void overload(char ch)
{
char c=ch+1;
cout<<c<<end1;
}
int main()
{
overload('X');
return 0;
}
第10题
以下程序的输出结果是#include <iostream>using namespace std;int main(){ cout.fill('*'); cout.width(5); cous<<hex<<100<<end1; return 0;}
A.**100
B.***64
C.100**
D.64***
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!