what is the difference between class and structure in C++?

Answer Posted / murali

A class is inhertied to onther class but structure we
cannot inhertied

Is This Answer Correct ?    18 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the drawback of classical methods in oops?

2909


Why do we use class in oops?

549


How do you use inheritance in unity?

582


Why is object oriented programming so hard?

610


Are polymorphisms mutations?

691






What is encapsulation selenium?

551


What is the difference between abstraction and polymorphism?

606


What is the purpose of polymorphism?

668


c++ program to swap the objects of two different classes

1752


Give two or more real cenario of virtual function and vertual object

1849


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

3550


What is byval and byref? What are differences between them?

1682


What is polymorphism oop?

614


What are the three main types of variables?

597


Why we use classes in oop?

572