字符与ASCII码
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
阅读程序,填写对应的输出结果
- cout << 'A' << ' ' << 'B' << ' ' << 'C' << endl;
{{ input(1) }} - cout << 'a' + 0 << endl;
{{ input(2) }} - cout << ' ' + 0 << endl;
{{ input(3) }} - cout << 'A' + 0 << endl;
{{ input(4) }} - cout << '0' + 0 << endl;
{{ input(5) }} - cout << 'a' - 'A' << endl;
{{ input(6) }} - cout << 'Y' - 'y' << endl;
{{ input(7) }} - cout << 'a' - ' ' << endl;
{{ input(8) }} - cout << '6' - '0' << endl;
{{ input(9) }} - cout << 2 + '0' << endl;
{{ input(10) }}