what is the conceptual difference between macros and function…………???
what is the conceptual difference between macros and function…………???
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
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