#1076. 编码常错知识点

编码常错知识点

注意 要自己思考做题,不能蒙答案,不能用编程工具输出答案。

1、执行cout << '9'*3; 语句后,输出的结果是 {{ input(1) }} 。

2、执行语句int a[3][4] = {{1, 2}, {3}, {4, 5, 6, 7}};后,,a[1][2]的值是{{ input(2) }} ;a[2][1]的值是{{ input(3) }}

3、执行int x=3,y=2;cout<<(x -= y, x *= y+7/5);语句后,输出的结果是 {{ input(4) }} 。

4、执行 int n=9; n*=n+=n%=2; cout<<n; 语句后,输出的结果是 {{ input(5) }}

5、执行 int m=9; m*=m++; cout<<m; 语句后,输出的结果是 {{ input(6) }}

6、执行 int m=9; m*=++m; cout<<m; 语句后,输出的结果是 {{ input(7) }}

7、执行 int a=02024; b= 0x212; cout<<a+b; 语句后,输出的结果是 {{ input(8) }}