Function calling and passing parameters

Generally when we make a function and define parameters we use *a when we wanted to pass a with address…so what is the use of &mycomare here …is it used to pass function…

hi @himanshuanand729 its the way to pass functions as params

Acc to this article of gfg it is done by other is both are correct please explain in detail concept used in lecture what it is passing address and in definition

hi @himanshuanand729 yes u can do it like this also

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.