赞
踩
1、#define
define用来定义常量,其格式为#define NAME n,表示用NAME代替n,其中n为常量,注意该表达式后面没有分号。
2、extern
extern用来定义全局变量或声明函数。