Question: are assignment operator inherited in c++?
Answer: In C++, like other functions, assignement operator function is inherited in derived class. For example, in the following program, base class assignment operator function can be accessed using the derived class object.