Is structure can be inherited?

Answer Posted / chethu

Then what for the class is introduced in C++.. they could
have continued using the structure with OOPS concept only rite?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can static member variables be private?

711


What is the rule of three?

660


Mention the ways in which parameterized can be invoked. Give an example of each.

676


What are guid? Why does com need guids?

670


What is the exit function in c++?

629






Why do we use structure in c++?

668


Should the member functions which are made public in the base class be hidden?

658


Should I learn c or c++ first?

657


What are the classes in c++?

721


What is the use of volatile variable?

689


Why are pointers used?

654


What is virtual base class?

665


Which programming language's unsatisfactory performance led to the discovery of c++?

916


Can we run c program in turbo c++?

682


What is the difference between an external iterator and an internal iterator?

710