📜  c 宏 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:36.359000             🧑  作者: Mango

代码示例2
A macro is defined at the top of your program.
for eg: #define PI 3.14
Now whenever you write PI in your program 'PI' is replaced by 3.14
Actually this replacement is done by the preprocessor before the source code is compiled.