Can I have my implementation of a queue?

Here Prateek bhaiya keeps rear 1 position after the last element. can I have a rear pointer at the last position itself

@Doctor_Insult yes you can have rear pointer at the last position also you just have to modify rest of the code accordingly