Domanda di colloquio di Mobiuso

Why is stack FIFO not LIFO

Risposta di colloquio

Anonimo

19 gen 2021

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.