Domanda di colloquio di Intel Corporation

When to use a macro vs. a function?

Risposta di colloquio

Anonimo

21 gen 2021

Macros should be used to replace small functions in order to not use the stack unless absolutely necessary, however they present difficulties when debugging.