C++ classes and structure related interview questions

Difference between struct and class - All members of a class are private by default, whereas fields of a struct are public.....
What is private, public and protected inheritance? - The Public and protected members of Base class become private members of the derived class....
Describe abstract base class - A pure virtual function is a function which does not have definition of its own..
What is matrix class? Describe it with example and uses - A matrix is simply a 2-D array, which is widely used in scientific programming to perform calculations.....