1-what is the difference or the pros of using dynamic allocated array (using new) over typical array?
2-in the next ex. Date &Date::operator==(const Date & mydate1)
this binary operator takes two objects to compare
mydate1, mydate2
if i am using *this pointer in the body of the prescribed fuction, to whom is the pointer points mydate1 or mydate2?
1 - allocating memory dynamically is both slower and less safe than allocating on the stack, only allocate dynamically when you have to.
2 - the this pointer is a pointer to the current object being acted upon, if you've overloaded the equality operator on your Date class and you have two dates