Skip to content
Related Articles

Related Articles

Improve Article
C++ | Misc C++ | Question 1
  • Difficulty Level : Easy
  • Last Updated : 19 Mar, 2013

Inline functions are useful when
(A) Function is large with many nested loops
(B) Function has many static variables
(C) Function is small and we want to avoid function call overhead.
(D) None of the above

Answer: (C)

Explanation: Inline functions are generally used in place of small macros. They are substitute to macros and better than macros. See following for details.

Quiz of this Question

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up
Recommended Articles
Page :