I am new to C++ and would like to know how can a member function of a class be passed to another function which takes a function pointer as a parameter. For the code I tried, I