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 is abstraction with example?
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?
What makes a language oop?
In which Scenario you will go for Interface or Abstract Class?
1 Answers InfoAxon Technologies,
What is inheritance in oop?
What is polymorphism what are the different types of polymorphism?
what is multithreading in c++ , what is difference between multithreading and singlethreading.
OOP'S advantages of inheritance include:
What is abstraction in oop?
What is the Advantage of Interface over the Inheritance in OOPS?
What does and I oop and sksksk mean?
How to Increment the value of the empid E001 for each and every employee by using the programe?