1.

What Is Difference Between Using A Macro And Inline Function?

Answer»

The macro are just symbolic representations and cannot contain data type differentiations within the parameters that we give. The inline functions can have the data types too defined as a part of them. The DISADVANTAGE in using both is that the INCLUSION of condition checks MAY lead to increase in code SPACE if the function is called MANY times.

The macro are just symbolic representations and cannot contain data type differentiations within the parameters that we give. The inline functions can have the data types too defined as a part of them. The disadvantage in using both is that the inclusion of condition checks may lead to increase in code space if the function is called many times.



Discussion

No Comment Found