Template<typename T, typename U>?

sir i am not able to understand anything taught in last 2-3 min in this video about this concept , its not clearly describe here in the video about that concept

What Prateek Sir is telling in the last minute of the video, is that suppose you want to create a class that uses 2 or say more variable and you do not know what is their datatype before hand, than for each variable you can define a variable using typename.
Eg
template<typename T, typename U, typename X>
class using_Template{
T a;
U b;
X c;
.
.
.
.
}

int main()
{
.
.
.
using_Template<int, char, float> testing;
.
.
.
}

Here we have variable a,b,c whose datatype we do not know before hand, so we use typename to create generic variable. In the main function when we create object of class we define their datatype, a is int, b is char and c is float.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.