Which of the below options are true about a queue?
i. Queue should be always of unlimited capacity.
ii. Queue should be always of limited capacity.
i or ii
Theoretically a queue insertion should not fail, that is queue should of unlimited capacity. but it is not mandatory, a queue can be of limited capacity, in which case queue will show overflow error.
Back To Top