Skip to main content

Posts

Showing posts from August, 2021

What is Member Variable and Member function?

   Member Variable   − These are the variables defined inside a class. This data will be invisible to the outside of the class and can be accessed via member functions. These variables are called attribute of the object once an object is created. Member function  − These are the function defined inside a class and are used to access object data.