填空题

有以下程序: #include <fstream> #include <string> using namespace std; int main () { char ch[] = "The end"; ofstream outstr( "d:\\put.txt", ios_base: :app); for (int i = 0; i < strlen( ch ); i++ ) outstr.put(ch[i]); outstr.close(); return 0; } 程序实现的功能是 【15】

【参考答案】

在文件put.txt的尾部追加写入一串字符