Quiz Yourself: Macros and Code Evaluation

Quiz yourself on macros and code evaluation.

1

Which statement is true about macros?

A)

Macros defined in one module can’t be used in another module.

B)

Macros are expanded on run time.

C)

Macros are expanded before a program executes.

D)

When parameters are passed to a macro, Elixir evaluates them immediately.

Question 1 of 60 attempted

Get hands-on with 1200+ tech skills courses.