Differences between macro functions and library functions

This post describes the difference between macro functions and library functions.

Macro functions replace code at that location. Library functions call functions in other locations. Thus, they have the characteristics shown in the table below.

CharacteristicsMacro functionLibrary function
Type declarationsNo Related.Related.
Program capacityCapacity increases in proportion to the number of uses.Same capacity regardless of number of uses.
Execution speedFaster than library functions.Slower by the function call processing time.
OSS-ECAL English
error: Content is protected !!