what isthe difference between c structure and c++ class

Answer Posted / a.sivasakthi

c structure are only define the data and data types
C++ class are define the data and solve the function the
both process are solved to the c++ class

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is graphics

2228


What does and I oop mean?

858


What are the important components of cohesion?

771


What is the renewal class?

2442


what are the ways in which a constructors can be called?

1815


What is polymorphism what is it for and how is it used?

790


What is the advantage of oop over procedural language?

858


Why we use classes in oop?

799


What are constructors in oop?

814


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2239


How do you achieve runtime polymorphism?

765


How to call a non virtual function in the derived class by using base class pointer

5960


assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).

1911


What is encapsulation oop?

817


What are properties in oop?

827