CPP MCQ
When struct is used instead of the keyword class means, what will happen in the program?
A)
access is public by default
B)
access is denied
C)
access is private by default
D)
access is protected by default

Correct Answer : Option (A) :   access is public by default

Explanation : For structures, by default all the data members and member functions are public.