If you are asking about member functions.
When we declare a function inside a class then that function becomes member function of that class and this function can access the whole class
Of course they are used. Both stand-alone and class-member functions are used in C++.
An attribute is a class member variable while a behaviour is a class member method.
The only "special" operators in C++ are those that cannot be overloaded. That is; the dot member operator (.), pointer to member operator (.*), ternary conditional operator (:?), scope resolution operator (::), sizeof() and typeof().
No. Data hiding is a feature of object oriented programming. C does not support OOP, and therefore has no private member access. All members are public in C.
The general order of initialization is:Base class objects (if present)Member data objectsConstructor function code
In C++, methods are simply class member functions.
Of course they are used. Both stand-alone and class-member functions are used in C++.
An attribute is a class member variable while a behaviour is a class member method.
-define class with necessary data member & member function. -create object of that class. -communication.
The only "special" operators in C++ are those that cannot be overloaded. That is; the dot member operator (.), pointer to member operator (.*), ternary conditional operator (:?), scope resolution operator (::), sizeof() and typeof().
The keyword "friend" allows a function or variable to have access to a protected member inside a class.
A member that does not have to pay money.
No. Data hiding is a feature of object oriented programming. C does not support OOP, and therefore has no private member access. All members are public in C.
Yes. (And of course you could simply try it, instead of asking.)
b+b+b+c+c+c+c =3b+4c
you got to be a member
c + c + 2c + c + c = 6c