If a piece of code can be implemented as a macro or as an inline function, which of the following factors favour implementation as an inline function?
A. | Interacting with other components (like variables in an expression), in the correct way .. |
B. | Flexibility to manipulate as a pointer |
C. | Source code size |
D. | Both (a) & (b) |
Answer : D Explanation :
Macros do not have an address associated with them as they are processed by the pre-processor. |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |