Describe Last in-first out

Last in, first out: It is the LIFO semantics of a stack data structure. Items are eliminated in the opposite order to which it arrived in the stack; therefore newer items are always eliminated before older ones.

   Related Questions in Programming Languages

©TutorsGlobe All rights reserved 2022-2023.