Stack is a

2017

Stack is a

Answer: B. Last In First Out structureThe correct option is B: Last In First Out structure. A stack is a linear data structure that strictly follows the LIFO (Last-In, First-Out) principle. This…

  1. A.

    First In Random Out structure

  2. B.

    Last In First Out structure

  3. C.

    First In First Out structure

  4. D.

    Last in Last Out structure

Attempted by 777 students.

Show answer & explanation

Correct answer: B

The correct option is B: Last In First Out structure. A stack is a linear data structure that strictly follows the LIFO (Last-In, First-Out) principle. This means the element inserted most recently (Last In) is always the very first one to be removed (First Out).

Explore the full course: Btsc Lab Assistant

Loading lesson…