memory allocation in stack and queue.

Status
Not open for further replies.

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???
 

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.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…