Google News
logo
CPP - Quiz(MCQ)
The data members and functions of a class in C++ are by default______
A)
private
B)
public
C)
protected
D)
public & protected

Correct Answer :   private


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

Advertisement