#2054. [GESP202312 一级 C++] 第 11 题
[GESP202312 一级 C++] 第 11 题
执行下面C++代码后输出是( )。
int x = 3;
int y = x * x;
int z = y + x * 2;
cout << z << endl;
{{ select(1) }}
- 3
- 21
- 27
- 49
执行下面C++代码后输出是( )。
int x = 3;
int y = x * x;
int z = y + x * 2;
cout << z << endl;
{{ select(1) }}