What is the difference between public, private, protected
inheritance?

Answer Posted / sehrish

in private inheritance the private public and protected membrs are inaccessible

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is implicit pointer in c++?

610


What are the benefits of operator overloading?

686


Explain deep copy?

614


What is dynamic and static typing?

679


Does c++ have finally?

575






What are manipulators used for?

613


What would happen on forgetting [], while deallocating an array through new?

641


How to defines the function in c++?

626


What are the advantages of c++ over c?

590


Using a smart pointer can we iterate through a container?

567


What is pointer in c++ with example?

524


Describe linkages and types of linkages?

573


List the issue that the auto_ptr object handles?

619


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

1016


Is c++ still in demand?

641