Design and Development > Programming
macro over a function ?
(1/1)
kavitajain9782:
Hello Dear,
Please Tell Me Advantages of a macro over a function?
ServersBase:
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.
Navigation
[0] Message Index
Go to full version