#include<iostream>
class Person
{
int m_A
;
static int m_B
;
void func(){}
static void func2(){}
};
void test01()
{
Person p
;
cout
<<"size of p = "<<sizeof(p
)<<endl
;
}
void test02()
{
Person p
;
cout
<<"size of p = "<<sizeof(p
)<<endl
;
}
int main()
{
system("pause");
}
转载请注明原文地址: https://lol.8miu.com/read-20920.html