Home / C Programming / C Preprocessor :: Discussion

Discussion :: C Preprocessor

  1. Macro calls and function calls work exactly similarly.

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    False, A macro just replaces each occurrence with the code assigned to it. e.g. SQUARE(3) with ((3)*(3)) in the program.

    A function is compiled once and can be called from anywhere that has visibility to the funciton.


Be The First To Comment