Lecture 17 Flashcards

(1 cards)

1
Q

Macros:

  1. What are macros?
  2. Why are macros important?
A
  1. ~they tell the compiler to substitute an identifier with expressions, statements, or group of statements
    ~you can think of macros as if they are a way to tell the compiler to replace some code with other code
  2. ~they make your code easier to read and maintain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly