Defining Macros with Parameters Flashcards
1
Q
How do you define a macro with a parameter?
A
define macro_name(parameter list) macro body
2
Q
Macro Expansion
A
Process of replacing a macro call by its meaning
3
Q
Why is important to use parenthesis in the macro body?
A
To prevent order of operation errors.
4
Q
How do you extend a macro over two or more lines?
A
By placing a \ at the end of each line except for the last.