执行下面C++代码后输出的是( )。 string str = "chen"; cout << str[5] << endl; A. 输出未知的数B. 输出'n'C. 输出'\0'D. 输出空格 正确答案:A