diff --git a/guide/english/c/macros/index.md b/guide/english/c/macros/index.md index 56424bf7bd..94123f9e2a 100644 --- a/guide/english/c/macros/index.md +++ b/guide/english/c/macros/index.md @@ -19,6 +19,13 @@ Is the same as write this: ```C printf("Value of PI: %d", 3.14); ``` +#### Undefining Macros +After defining macros you can also undefine them at any point. +just Type +```C +#undefine PI +``` +This is used to use macros only for specific lines of code and again undefine it. #### Types of macros There are two type of macros. The `Object-like` macros, showed above, and the `Function-like` macros. @@ -48,7 +55,6 @@ You get the equivallent of: ```C printf("Hello World!"); ``` - #### More Information: [GCC Online Documentation: Macros](https://gcc.gnu.org/onlinedocs/cpp/Macros.html)