Template use in stack

stack <int>s;			// while creating object we have to suppy value of T  why?

hi @n.nishchaya2000 how will the compiler know what type of stack you want to make? You have to explicitly mention this thing.