views:

74

answers:

2

we can also do queues opration in microprocessor?

+2  A: 

No. The stack is built in insofar as there's a register and operations to support it. There is no similar support for a queue.

If you want a queue, you need to implement it in code.

Carl Smotricz
A: 

Have stack, want Queue??...


You can always implement queues in software. Refer this Q for more:

For a detailed discussion on how to implement a queue using stacks:

GoodLUCK!!

CVS-2600Hertz