题目内容

以下程序执行后输出的结果是 【15】 。 #include<iostream> #include<fstream> using namespace std; int main() ofstream ofile("D:\\temp.txt"); if(!ofile) cout<<"temp.txt cannot open"<<endl; return 0; ofile<<"This is a book" <<" " <<54321<<endl; ofile.close(); ifstream ifile("D:\\temp.txt"); if(!ifile) cout<<"temp.txt cannot open" <<endl; return 0; charstr[40]; ifile >> str; ifile.close(); cout<<Str<<endl; return 1;

查看答案
更多问题

关系数据库管理系统能实现的专门关系运算包括选择、连接和 【1】 。

栈的基本运算有三种:入栈、退栈和 【5】 。

下面程序的输出结果是( )。 #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<<endl; return 0;

A. 0
B. 1
C. 2
D. 3

患者,男,18岁,右手背遭刀砍伤,嘱患者伸右手指时,中指掌指关节伸直困难,指间关节可伸直。 一般手指肌腱断裂缝接后需制动的时间为

A. 1周
B. 2周
C. 3周
D. 4周
E. 5周

答案查题题库