单选题

执行以下代码,输出的结果是(   )。

int a = 2;
a += a * a;
cout << a << endl;
A

0

B

2

C

4

D

6

赣ICP备20007335号-2