why always we are using this->front etc;
can’t we
directly use front etc??
Code implenmentation of circular queue
@royprincejmp you can directly use front, if no other variable of the same name is present (eg from function arguments, etc) but it is a good practice to use this->variable_name
in classes.
what this->variable_name implies
like this->front
it means that the front
you are referring to is a data member of the class you are working on.