1.

The data members and functions of a class in C++ are by default ____________(a) protected(b) private(c) public(d) public & protected

Answer» The correct option is (b) private

To explain: By default all the data members and member functions of class are private.


Discussion

No Comment Found

Related InterviewSolutions