CPP 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 : Option (A) :   private

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