while createing object of stack we have supply the required "T " like int why? means we r using template in stack class and we r using stack s; why why not only stack s
Template use in stack?
hi @n.nishchaya2000 i have answered on your previous doubt. Please avoid making multiple doubts for the same topic to avoid spam