字符与ASCII码

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

阅读程序,填写对应的输出结果

  1. cout << 'A' << ' ' << 'B' << ' ' << 'C' << endl;
    {{ input(1) }}
  2. cout << 'a' + 0 << endl;
    {{ input(2) }}
  3. cout << ' ' + 0 << endl;
    {{ input(3) }}
  4. cout << 'A' + 0 << endl;
    {{ input(4) }}
  5. cout << '0' + 0 << endl;
    {{ input(5) }}
  6. cout << 'a' - 'A' << endl;
    {{ input(6) }}
  7. cout << 'Y' - 'y' << endl;
    {{ input(7) }}
  8. cout << 'a' - ' ' << endl;
    {{ input(8) }}
  9. cout << '6' - '0' << endl;
    {{ input(9) }}
  10. cout << 2 + '0' << endl;
    {{ input(10) }}

六年级作业

未参加
状态
已结束
规则
乐多
题目
14
开始于
2026-10-21 17:15
结束于
2026-10-29 5:15
持续时间
180 小时
主持人
参赛人数
22