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
Write about the role of c++ in the tradeoff of safety vs. Usability?
Why c++ is better than c language?
What is the first name of c++?
What is c++ array?
What is the exit function in c++?
Can static member variables be private?
What's the "software peter principleā?
What are the advantages of using const reference arguments in a function?
What language does google use?
Explain how to initialize a const member data.
What does I ++ mean in c++?
What is the difference between cin.read() and cin.getline()?
What is polymorphism and its type in c++?
What is ofstream c++?
Define a pointer to a data member of the type pointer to pointer?