Please explain briefly

TEMPLATE is generic data type which can store anything like string ,int ,float etc…CAN we store other objects like pair,set etc…???

@AMIT_KUMAR Yes you can make for that. for example you can see this code https://ide.codingblocks.com/s/236955

@AMIT_KUMAR also please mark the doubt as resolved if you understood it otherwise ask.

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.