静态变量是存放在全局数据区的
如:
class A1
{
public:
int a;
static int b;
A();
~A();
};
sizeof(A!)=4
海报分享
扫一扫,分享海报
一键三连