Why is stack FIFO not LIFO
Anonimo
I think stack is LIFO and not FIFO as per the question why, thats how it is, its a data structure which is used to solve n number of problems. Like any programming language runs with LIFO on stack memory concept of calling functions.