题库 信息学奥赛题库 题目列表 运行下列程序时, 若从键盘上输入“8<enter>”,...
单选题

运行下列程序时, 若从键盘上输入“8<enter>”, 则程序的输出结果是(   )。

#include<bits/stdc++.h>
using namespace std;
main()
{
    int a=3, b=5, c;
    a++;
    --b;
    c=a*b;
    cout<<c;
    return 0;
}
A.

15

B.

16

C.

12

D.

10

题目信息
选择题 2023年 初赛
50%
正确率
0
评论
57
点击