What is the difference between the keywords struct and class in C++?

Trainee Asked on August 15, 2019 in C++ Language.
Add Comment
1 Answer(s)

By default the members of struct are public and by default the members of the class are private.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.