Macros are essentially shorthand representations of arbitrary sections of the source code, which makes the source code succinct, while its (the macro template's) expansion replaces each of its presence prior to compilation. Whatever is there to do with Macros, it is done by the preprocessor, so that the source code is ready for compilation. Function is a calling routine, whence a large program is divided into separate portions, each portion doing a separate job, and proper calling of these portions in different places combines the works done by them into the required complete output. Thus functions have nothing to do with the preprocessing period, they are just compiled. To some extent function and macro is similar, for a macro can occasionally be invoked to perform a task that is generally entrusted to a function. But the similarity ends there.The differences are:
What is the difference between a micro processor and a macro processor?
Difference between micro and macro marketing
Calling a macro loads the macro into memory, while executing the macro runs the macro.
The difference between macro and micro decomposers is micro decomposers can't be seen by the naked eye while macro decomposers are big enough so they can be seen.
Macro is big micro is small.
mirco= small macro= large
Macro is big micro is little
macro is bigger than micro
The difference between micro and macro evolution is that micro evolution does not involve creation any new allele while macro evolution involves creation of the new alleles.
difference between function and objectives?
Ask Stephen short...he knows all ;)
t s the difference between micro and macro process in the ecosystem?
ten difference of micro economics macro economics
The same as the difference between huoses and oranges. Did you mean "macro" instead of "marco"?
micro is on a small scale and macro on a larger scale
macro- and microeconomics courses (the "big picture" versus individual companies/persons)
What is the difference between malloc() and calloc()?
the molecules required by our body in small quantity is kown as macro molecules
A macro is the entire section of code, while a sub-routine is part of the macro.
In VBA, a macro is the name for the function that you can see on the GUI and use, and a function is a procedure called by a macro. A Macro is more "on the stage", and a Function is more "backstage".
fundamental difference between a polynomial function and an exponential function?
On SLRs, macro lenses are specially corrected for extreme close-up work. Nikon brand macro lenses bear the name 'Micro', so there is really not much difference.
A macro is simply a text-substitution mechanism. You use the #define directive to define both macro symbols and precompiler directives. Every occurrence of a macro symbol within your code is substituted with the macro definition during preprocessing.