Not getting the convention-- thiis->

mostly this-> convention is used…
m not getting this convention

“->” is referred to as an arrow operator and is used to dereferencing a pointer, so the syntax is the same as (*ptr). Dereferencing a pointer means to get the value of that address, so for example:

struct Person{

string name;

int age;

};

Person *Bob = new Person;

Bob -> age = 21;

You will be more familiar with this further when you move to the Linked list section.

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.