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 to implement is-a and has-a class relationships?
What is setbase c++?
How compile and run c++ program in turbo c++?
Is swift better than c++?
What is a c++ map?
Is C++ case sensitive a) False b) Depends on implementation c) True
What happens when the extern "c" char func (char*,waste) executes?
What do you mean by early binding?
What is the identity function in c++? How is it useful?
How many types of classes are there in c++?
Explain the operation of overloading of an assignment operator.
What is the use of setfill in c++?
Which should be more useful: the protected and public virtuals?
Can we use this pointer in a class specific, operator-overloading function for new operator?
How many keywords are used in c++?