what isthe difference between c structure and c++ class

Answer Posted / harshad khedekar

c does not allow struct data type to be treated like built-in datatype also it does not supports data hiding concept.in c++ instead of struct we have class which overcomes all the above limitations.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object in oops?

718


2. Give the different notations for the class.\

1670


What is the real life example of polymorphism?

712


what are the different types of qualifier in java?

1919


What is object and example?

702






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

1676


Can static class have constructor?

675


Is this job good for future? can do this job post grduate student?

1794


Why polymorphism is used in oops?

669


What is the difference between procedural programming and oops?

648


What are the components of marker interface?

704


what type of question are asked in thoughtworks pair programming round ?

1848


What is polymorphism in oops?

637


Where You Can Use Interface in your Project

1506


What is an interface in oop?

675