Is structure can be inherited?

Answer Posted / mahan

struct has come into c++ from C. It enables to group together different elements of different types so that we can access them together. Basically it simplifies memory access. All members in a struct have their access as public.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you tell what shell you are running on unix system?

643


Name the operators that cannot be overloaded in C++?

587


What is the syntax for a for loop?

603


Are c and c++ different?

541


What are destructors?

577






Is recursion allowed in inline functions?

610


Describe linkages and types of linkages?

569


Do you know what are pure virtual functions?

640


What is the use of function pointer?

577


Using a smart pointer can we iterate through a container?

565


How much is c++ certification?

589


what is Member Functions in Classes?

620


Explain class invariant.

588


How do you clear a set in c++?

605


What is time h in c++?

587