what isthe difference between c structure and c++ class

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of polymorphism?

898


Why do pointers exist?

901


What is polymorphism in oop example?

767


What is an example of genetic polymorphism?

897


Write a program to sort the number with different sorts in one program ??

2123


How do you define a class in oop?

880


explain sub-type and sub class? atleast u have differ it into 4 points?

2060


What is multilevel inheritance in oop?

787


Why oops is important?

808


Plese get me a perfect C++ program for railway/airway reservation with all details.

3678


State what is encapsulation and friend function?

967


What is encapsulation process?

803


What is abstraction example?

858


What is object and example?

901


What are functions in oop?

800