STACK vs VECTOR

Правка en1, от AmitPandey-AP, 2023-12-07 22:39:02

If in a vector we can use use push_back() and pop_back() and in a stack we do push and pop from the rear end of the stack . So what is the significance of stack over a vector ? Is it size related or something else ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский AmitPandey-AP 2023-12-07 22:39:02 232 Initial revision (published)