What is the difference between Class and Structure?
Answer Posted / swetcha
The difference between a class and a structure is that, by
default, all of the members of a class are private and, by
default, all of the members of a structure are public.
| Is This Answer Correct ? | 797 Yes | 102 No |
Post New Answer View All Answers
How should a contructor handle a failure?
what are Access specifiers in C++ class? What are the types?
Define pointers?
Is turbo c++ free?
program explaining feautures of c++
What is srand c++?
What is setbase c++?
Please explain the reference variable in c++?
What is #include math h in c++?
Does improper inheritance have a potential to wreck a project?
Are c and c++ similar?
What do you understand by a pure virtual member function?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is a container class? What are the types of container classes in c++?
What is the extension of c++?