首页 > 试题广场 >

下面 C++ 代码的运行结果为() #include io

[单选题]
下面 C++ 代码的运行结果为()
#include <iostream>
using namespace std;

int main() {
    int x = 10;
    int* p = &x;
    cout << ++*p++ << endl;
    return 0;
}
  • 10
  • 11
  • 编译错误
  • 运行错误

这道题你会答吗?花几分钟告诉大家答案吧!