Can we define the inline function outside the class in C++ program?

116. Can we define the inline function outside the class in C++ program?

  1. Yes
  2. No

Answer: A) Yes

Explanation:

Yes, we can define an inline function inside or outside the class.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.