結果 : how to pass function pointer as argument in cpp