E. [GESP]L4-202609-Q4248-S

    客观题

[GESP]L4-202609-Q4248-S

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

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

int score = 60;

void update(int &score) {
    score += 5;
}

int main() {
    int score = 80;
    update(score);
    cout << score << " " << ::score;
    return 0;
}

{{ select(1) }}

  • 85 60
  • 80 65
  • 85 65
  • 80 60

GESP 2026.09 C++ 四级 全真模拟赛

未参加
状态
已结束
规则
OI
题目
27
开始于
2026-11-20 13:35
结束于
2026-11-25 13:35
持续时间
2 小时
主持人
参赛人数
0