Dec 19, 2006 #1 A avssunil Junior Member level 1 Joined Nov 13, 2006 Messages 19 Helped 2 Reputation 4 Reaction score 0 Trophy points 1,281 Activity points 1,416 Hi, How is the memory allocated in stack and queue???What is the structure in it???
Dec 20, 2006 #2 V vsomeshwar Newbie level 5 Joined Dec 20, 2006 Messages 8 Helped 0 Reputation 0 Reaction score 0 Trophy points 1,281 Activity points 1,314 in case queue FIFO(First In First Out) in case of stack it is LIFO(Last In First Out) We can implement either using array or linkedlist.
in case queue FIFO(First In First Out) in case of stack it is LIFO(Last In First Out) We can implement either using array or linkedlist.