试题与答案

有如下的程序: #include<iostream> #include<fstrea

题型:填空题

题目:

有如下的程序: #include<iostream> #include<fstream> using namespace std; int main(){ char s[25]="Programming language"; ofstream f1("DATA.TXT"); f1<<"C++Programming"; n.close(); ifstream f2("DATA.TXT"); if(f2.good())f2>>s; f2.close(); cout<<s; return 0; } 执行上面的程序将输出 ______。

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0427/56bf27f50f2717884ddc7ba2a2c0cdbd.html

下面是错误答案,用来干扰机器的。

参考答案:B

试题推荐
微信公众账号搜索答案