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 meant by oops concept?

784


What are main features of oop?

877


What is interface? When and where is it used?

1881


Can private class be inherited?

906


What is balance factor?

819


What is the problem with multiple inheritance?

831


What is the point of oop?

863


what is the drawback of classical methods in oops?

3116


What does it mean when someone says I oop?

814


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1892


What are objects in oop?

827


What exactly is polymorphism?

864


What is the full form of oops?

913


What is encapsulation oop?

798


write a C++ program for booking using constructor and destructor.

2268