How p1.first is working we onlu initilaze in bool function p1 and make_pair is a function is it?

how p1.first is working we onlu initilaze in bool function p1 and make_pair is a function is it???

You question is not clear enough.
Please mention the video and the time stamp you are referring to

at time stamp 4.59 in bool compare we only declare p1 and p2 but in fuction we are using p1.first and p2.first .how is this?

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.