Pair is not taught till now .Why we use pair here?
I did not know what is pair
@mayurjhode55
A simple google search would help you learn pair. You can try to learn something yourself, this will not only make you self sufficient but also help in future to learn more effectively.
when we tie two objects in a single entity, that is called pair.
like pair<int,string> a;
that means a.first is a int, and a.second is a string.
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.