执行下面C++代码将输出10。
void func(int* p){ *p = 10; } int main(){ int a = 5; func(&a); cout << a << endl; return 0; }
正确
错误