这里记录下extern的狗血。定义中extern可写可不写,默认隐藏
声明:extern int a;
定义:extern int a=0; int a; int a=0;
声明:extern void show(); void show();
定义:extern void show(){} void show(){}
这里记录下extern的狗血。定义中extern可写可不写,默认隐藏
声明:extern int a;
定义:extern int a=0; int a; int a=0;
声明:extern void show(); void show();
定义:extern void show(){} void show(){}