Question OOP-ENC-0060
MediumIn C++, members of a struct are by default:
- A.
protected
- B.
private
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Encapsulation question
In C++, members of a struct are by default:
protected
private
Sign up free to see the answer and a step-by-step explanation.
static
public