Difference between linear queue and circular queue in c