Data Structure Stacks MCQ Details
MCQ Practice Single Best Answer Topic: Stacks

Q Which of the following is a disadvantage of using a stack?

Question ID
#5751
Subchapter
Stacks
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A It can only store a limited number of elements
  • B It is not efficient for searching or sorting elements
  • C It requires a lot of memory to implement
  • D It can lead to stack overflow errors if the stack becomes too large
Correct Answer: D

Explanation

Answer: d) It can lead to stack overflow errors if the stack becomes too large

Explanation: One potential disadvantage of using a stack is that it can lead to stack overflow errors if the stack becomes too large and exceeds the available memory.

Share This Question

Share this MCQ with your friends or study group.