Hi !!
I have read some books to know exactly what is a stack a heap and a queue. But I couldnt find much information. What really is a stack or a heap ? Many books just mention that during program execution the variables are "pushed on to" a stack ( or was that a heap or a queue ??).Another confusion is FIFO. To illstrate the FIFO concept the "plates" example was given. But if something is accesed on a First In First Out basis, what happens to the other variables that are below this variable. Does this mean that in a FIFO sequence only the variable that is First In gets out first and the remaining variables just remain there? .
I tried to search for information but could not find much. I would be extremely thankful if someone could help me with these.