What are Simple Macros?
****(Object-like Macro)
Common Pitfall: Adding Extra Characters to the Replacement List
What are the benefits of using #define
?
What are Parameterized Macros?
(Function-like Macro)
What are the pros & cons of Parameterized Macros over True Functions?
What does the #
Operator do
in Macro Definitions?
What does the ##
Operator do
in Macro Definitions?
What are the General Properties of Macros?
When to place Parentheses ()
in Parameterized Macros’ Replacement Lists?
Common Pitfalls: Not Adding ()
Makes Unexpected Operator Precedence