首页 新闻 会员 周边
2
回答数

已解决问题 10 C++中static关键字修饰变量问题

代码如下: int j() { static int a = 10; a++; cout<<a<<endl; return a; } int& j1() { static int a = 10; a-