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

Answer Posted / kanak shah

there is vast differece between class and structure in c++
in my view class is class room and structure mean class
room structure.

Is This Answer Correct ?    3 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of oops?

770


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

2094


Why oops is important?

766


Why it is called runtime polymorphism?

764


What is meant by multiple inheritance?

922






What is coupling in oops?

795


Can main method override?

795


What is abstraction in oops?

762


What is abstraction in oop?

824


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2037


Why do while loop is used?

750


What are the two different types of polymorphism?

861


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

4281


What is encapsulation oop?

775


What is destructor example?

754