Stack vs Queue

Queue

 Queue is like there is a customers go in and the others  
will go out

Stack

stack is a list of data functions when the function is called the address of the next instructions is pushed into the stack 




 

Comments