adplus-dvertising
frame-decoration

Question

What are inline member functions?

a.

Member functions which can be called without object

b.

Member functions whose definition is expanded in place of its call

c.

Member functions whose definition is faster than simple function

d.

Member function which is defined in single line

Answer: (b).Member functions whose definition is expanded in place of its call

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are inline member functions?

Similar Questions

Discover Related MCQs

Q. What happens if non static members are used in static member function?

Q. Static member functions _____________

Q. How to access members of the class inside a member function?

Q. For overloading “( )”, “[ ]” or “->” operators, a class __________

Q. If a virtual member function is defined, ___________

Q. Member functions of a generic class are _____________

Q. Member function of a class can ____________

Q. A member function can _______________ of the same class

Q. Which member function doesn’t require any return type?

Q. Which among the following is not possible for member function?

Q. What are local classes?

Q. All member functions of a local class must be ___________

Q. Can local class members access/use the general local variables (except static, abstract etc.) of the function in which it is defined?

Q. Which type of data can a local class access from the function in which it is defined?

Q. Local classes can access the type names and enumerators defined by the enclosing function.

Q. Can static variables be declared inside a local class?

Q. All the member functions of local classes are __________ by default.

Q. The enclosing function has no special access to the members of local class. (True/False)

Q. Which language can use inheritance with local classes?

Q. How many local classes can be defined inside a single function?