1.

How many types of member functions are possible in general?(a) 2(b) 3(c) 4(d) 5The question was asked in an international level competition.My query is from Types of Member Functions in section Member Functions & its Types of Object Oriented Programming

Answer»

Correct choice is (d) 5

The best EXPLANATION: There are basically 5 types of member functions possible. The types include simple, static, const, inline, and FRIEND member functions. Any of these types can be used in a program as per requirements.



Discussion

No Comment Found

Related InterviewSolutions