Difference between Macros and Functions in C
Question: What are Differences Between Macros and Functions in C Language? Answer: Macros are like functions but don’t act like functions. For ex., #define MAX(a,b) ((a) > (b) ? (a) : (b)) When used in program, preprocessor substitutes macro MAX(a,b) with it’s definition wherever it appears in program. For ex., int main(void) { int x … Read more