Is structure can be inherited?

Answer Posted / sabu

Everything for what a class is implemented holds good for
structure also in C++.

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you show the declaration of a virtual constructor?

534


How is static data member similar to a global variable?

586


Is ca high or low level language?

586


Which function should be used to free the memory allocated by calloc()?

594


If there are two catch statements, one for base and one for derived, which should come first?

580






Can you pass an array to a function in c++?

545


How are virtual functions implemented in c++?

605


Why are pointers used?

582


What are vtable and vptr?

625


Why was c++ made?

654


what is C++ exceptional handling?

633


Differentiate between late binding and early binding.

644


Can member functions be private?

602


What is the object serialization?

630


How does list r; differs from list r();?

695