Design and Development > Programming

macro over a function ?


Hello Dear,

                Please Tell Me  Advantages of a macro over a function?

One advantage is that You can use simple small names for a number of statements. You can even define macros for functions. When writing macros for functions, they saves a lot of time that is spent by the compiler for invoking / calling the functions. Hence, The advantage of a macro over an actual function, is speed.


[0] Message Index

Go to full version