adplus-dvertising
frame-decoration

Question

Member functions _____________________

a.

Must be defined inside class body

b.

Can be defined inside class body or outside

c.

Must be defined outside the class body

d.

Can be defined in another class

Answer: (c).Must be defined outside the class body

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Member functions _____________________

Similar Questions

Discover Related MCQs

Q. All type of member functions can’t be used inside a single class.

Q. Which keyword is used to define the static member functions?

Q. Which keyword is used to define the inline member function?

Q. Which among the following are valid ways of overloading the operators?

Q. Which among the following is mandatory condition for operators overloading?

Q. When the operator to be overloaded becomes the left operand member then ______________

Q. If the left operand is pointed by *this pointer, what happens to other operands?

Q. If a friend overloaded operator have to be changed to member overloaded operator, which operator should be used with the class name?

Q. What is the syntax to overload an operator?

Q. Why the left parameter is removed from parameter list?

Q. Which object’s members can be called directly while overloading operator function is used (In function definition)?

Q. If left operand member is specified directly in the function definition, which is the correct implicit conversion of that syntax?

Q. When the friend operator overloading is converted into member operator overloading _______________

Q. Where in the parameter list is the implicit *this is added?

Q. Which operator among the following can be overloading using only member function?

Q. Which operator among the following can be overloaded using both friend function and member function?

Q. All the operators can be overloaded using the member function operator overloading.

Q. Which operator among the following must be overloaded using the friend function?

Q. Which among the following best describes member function overriding?

Q. Which is the correct condition for function overriding?