Question: what is the difference between function and macro?
Answer: Macros vs Functions. Macros are pre-processed which means that all the macros would be processed before your program compiles. However, functions are not preprocessed but compiled. This shows that the macros are preprocessed while functions are not.