what isthe difference between c structure and c++ class
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / amarnath
Construtor is not in c strut and present in c++ class
| Is This Answer Correct ? | 4 Yes | 3 No |
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 |
what are the ways in which a constructors can be called?
What are classes oop?
What is the difference between XML Web Services using ASMX and .NET Remoting using SOAP?
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
Contrast OOP and SOA. What are tenets of each?
1 Answers Siebel Systems, Wipro,
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
What is an interface in oop?
how many types of notations are in java
1 Answers National University of Modern Languages (NUML),
What is class in oop with example?
What is multilevel inheritance explain with example?
What do you mean by abstraction?
how to swap the variables without using temp and operators