Described the differences among a C++ struct & C++ class?
A: The default member & base class access specifies are distinct. It is one of the commonly misunderstood aspects of C++. Many programmers think that a C++ struct is just as a C struct, whereas a C++ class has inheritance, member functions, access specifes, overloaded operators, and so on. In fact, the C++ struct has all of the features of the class. Only differences are that a struct defaults to public member access & public base class inheritance, & class defaults to the private access specified and private base-class inheritance.