![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Q. |
One difference between a queue and a stack is: |
A. | queues require dynamic memory, but stacks do not. |
B. | stacks require dynamic memory, but queues do not |
C. | queues use two ends of the structure; stacks use only one. |
D. | stacks use two ends of the structure, queues use only one. |
Answer» C. queues use two ends of the structure; stacks use only one. |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet