what is this operator and why we have used it ?
This operator in class car
Hi @StreamerX , this is a pointer to the car object address, we are using this pointer here because as u can see the arguments of constructor x and y has same name as the member variable so, to create the distinction we have used this->x to explicitly mention that this->x is the member variable and x is the constructor parameter .
to read more about this pointer you can refer this : https://www.learncpp.com/cpp-tutorial/8-8-the-hidden-this-pointer/
In case of any doubt feel free to ask 
If you got the answer then mark your doubt as resolved
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.