- A A data structure that allows elements to be inserted and removed in any order
- B A data structure that allows elements to be inserted and removed from the beginning or end
- C A data structure that allows elements to be inserted and removed from one end only
- D A data structure that allows elements to be inserted and removed from both ends
Answer:
C
Answer: c) A data structure that allows elements to be inserted and removed from one end only
Explanation: A stack is a data structure that follows the Last-In-First-Out (LIFO) principle, meaning that the element that is inserted last will be the first to be removed. It allows elements to be inserted and removed from the top end only.