Hi Nusrat,
The stability differs from Primary, Secondary and Tertiary carbocations whether it is benzylic or allylic. Generally, the benzylic carbocations are more stable than allylic carbocations as they form more number of resonating structures and have less electron affinity.
Feel free to ask doubts in the Comment Section.
I hope this information helps you.
Good Luck!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile