How bubble sort function is working with comparator? The case in which one function is passed as a parameter to another function.
Function working
@sasanand786 hey ,this is the topic that you have to pass another function as argument of one function ,as like stl sort which can take comparator function ,similiarly we are creating bubble sort which take comparator function as arhent and sort according to it.
thanks for the help. My doubt is resolved