选择题   有以下程序:
    #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);
      }
      ofile.close();
      return 0;
    }
    当从键盘终端连续输入的字符为a、b、c和#时,文件abc.txt中的内容为   
 
【正确答案】 C
【答案解析】本题程序的功能是将从键盘终端输入的内容存储到指定的文件中。