C structures cannot have member function while C++ class always has.

C structures must have at least one data member in it to compile. C++ class can be empty. It is possible to have a C++ class without member variables and member functions.

Static member variables are not allowed in C structures. C++ can have static members.

About our authors: Team EQA

You have viewed 1 page out of 62. Your C++ learning is 0.00% complete. Login to check your learning progress.

#