MCQ Answer

Which of the following is not the correct statement for a stack data structure?

Which of the following is not the correct statement for a stack data structure?

Topic : Stack

A. Arrays can be used to implement the stack

B. Stack follows FIFO

C. Elements are stored in a sequential manner

D. Top of the stack contains the last inserted element




Correct Answer is :

B. Stack follows FIFO



Explanation
Stack is LIFO(Last in First Out ) Data Structure. Queue if FIFO Data Structure
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz