MCQs > IT & Programming > C++ > What is the difference between a class and a struct

C++ MCQs

What is the difference between a class and a struct

Answer

Correct Answer: The members of a class are private by default, and the members of a struct are public by default.

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

C++ Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it