What are 2 forms of copy constructor
- Shallow copy
How can we return an object
With ‘this’ pointer like this (by dereferencing ‘this’ pointer).
return *this;
What are 2 representations of complex number
- Phasor form
What are advantages of separation of concern
user is isolated against any change in the code
What are constant member functions
With its use, the values of member functions can not be changed.
Can constructor and destructor be constant
No
Can constant member function call non-constant member function
No
is this pointer a constant pointer
Yes