EmbLogic's Blog

Macros and function………………..

what is the conceptual difference between macros and function…………???

One Response to Macros and function………………..

  1. virender kadain says:

    hello,
    the first diff. is that we can use a pointer which point to a function,but can not use a pointer for macro.
    the second diff. is that when we call a function our complier enter into a call-sequence which allocate a new stack frame and hence takes time after it done a returning seq. is call.so,it is tim
    e consume but a macro is related to text replacement

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>