In C++, _______ functions cannot be virtual. 

  • inline 
  • recursive 
  • overloaded 
  • default
Inline functions in C++ are expanded at the place where they are called, rather than being invoked. Because of this, they cannot be virtual as the virtual mechanism relies on function calls.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *