what does mean ?
" this->x=x;"
Custom class constructer
@lakshaygarg128
hello lakshay,
this is an internal pointer for an object here this->x=x means assign value of variable x to the member variable x
read more about this pointer here -> https://www.geeksforgeeks.org/this-pointer-in-c/