Which of the following statement(s) about stack data structure is/are NOT correct?

Options

  • A. Linked List are used for implementing Stacks
  • B. Null link is present in the last node at the bottom of the stack
  • C. Stack is the FIFO data structure
  • D. Top of the Stack always contain the new node

Correct Answer (Detailed Explanation is Below)

C. Stack is the FIFO data structure

Detailed Explanation

A Stack follows:

LIFO (Last In, First Out) principle
Not FIFO (that is Queue).

OOps! You are currently offline.