what isthe difference between c structure and c++ class

Answers were Sorted based on User's Feedback



what isthe difference between c structure and c++ class..

Answer / 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

what isthe difference between c structure and c++ class..

Answer / kapil

c does not have templates,c++ has templetes

Is This Answer Correct ?    3 Yes 1 No

what isthe difference between c structure and c++ class..

Answer / jeremiah

The default scope of a C struct is public, whearas the
default scope of a C++ class is private.

Is This Answer Correct ?    3 Yes 1 No

what isthe difference between c structure and c++ class..

Answer / amarnath

Construtor is not in c strut and present in c++ class

Is This Answer Correct ?    4 Yes 3 No

what isthe difference between c structure and c++ class..

Answer / 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

More OOPS Interview Questions

what is the need of abstraction? what is abstraction?what is the abstraction for stack?

8 Answers   CTS, Verizon,


What is virtual Function.

1 Answers   Wipro,


what is meant by files?

4 Answers   Infosys,


Which is the only operator in C++ which can be overloaded but NOT inherited?

8 Answers  


Difference ways of Polymorphism?

3 Answers  






Is html an oop?

0 Answers  


difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


What is multilevel inheritance in oop?

0 Answers  


ambiguity regulation of multiple inheritance with example.

1 Answers  


what is the difference between containership and inheritence?

1 Answers  


How to create a comment page in C #??

2 Answers  


What is encapsulation oop?

0 Answers  


Categories