Differentiate between class and structure.
Page 1 of 1
Differentiate between class and structure.
- The members of structures are public while those of a class are private.
- Classes provide data hiding while structures don’t.
- Class bind both data as well as member functions while structures contain only data.
Similar topics
» Class vs. Structure
» How would you differentiate between a pre and post increment operators while overloading?
» What is class using C++?
» What is abstract class?
» What is local class in C++?
» How would you differentiate between a pre and post increment operators while overloading?
» What is class using C++?
» What is abstract class?
» What is local class in C++?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum