-Members of a class are private by default, whereas members of a struct are public by default.
-Inheritance between classes is also private by default, and inheritance between structs is public by default.
This blog is an attempt to collect articles on different concepts of C++ programming language and is basically used as notes for my reference.
0 comments:
Post a Comment