Primary allyl carbocation is stabilised only by resonance effect whereas secondary and tertiary allyl carbocations are stabilised by resonance, hyperconjugation and inductive effect. ∴ The stability of carbocations in decreasing order is 3∘ allyl carbocation >2∘ allyl carbocation >1∘ allyl carbocation.