求大神解答,谢谢谢谢谢......
#include<iostream>
using namespace std;
int a = 9;
int func()
{
a = 10; //加不加int结果不一样
return a+3;
}
int main()
{ for(int i = 0; i<10;i++)
cout << func() << " " << a << endl;
}
输出顺序问题
https://blog.csdn.net/qq_36554582/article/details/83151376
为啥我运行是10啊