#GESP4256. [GESP]L4-202609-Q4256-S

[GESP]L4-202609-Q4256-S

假设文件 data.txt 的内容如下:

Blue Sky

执行下面程序后,输出结果是( )。

int main() {
    ifstream fin("data.txt");
    string a, b;
    fin >> a >> b;
    cout << b << "-" << a;
    fin.close();
    return 0;
}

{{ select(1) }}

  • Blue-Sky
  • Sky-Blue
  • Blue Sky
  • Sky Blue