Which keyword is used to define the inline member function?

Answer: b
Explanation: The inline keyword is used to defined the inline member functions in a class. The functions are implicitly made inline if defined inside the class body, but only if they doesn’t have any complex statement inside. All functions defined outside the class body must be mentioned with an explicit inline keyword.
 

Tìm kiếm

Back
Top