S

Shiva Ram • 30.44K Points
Instructor I

Q. Which of the following is true about inline functions and macros.

(A) inline functions do type checking for parameters, macros don't
(B) macros cannot have return statement, inline functions can
(C) macros are processed by pre-processor and inline functions are processed in later stages of compilation.
(D) all of the above
Correct : Option (D)

Share

Discusssion

Login to discuss.

Be the first to start discuss.