Which of the following is true about inline functions in C++?
A. Inline functions must have a return type declared
B. Inline functions cannot have return statements
C. Inline functions cannot be recursive
D. The compiler replaces the function call with the function code wherever it is called
Answer: Option D

Join The Discussion