is there any function which can return parameter list of a function.
for example : get_param(f(int x,char y )) return parameter x-> int y-> char
and f_name ->f
No, it is not possible, C++ does not support reflection and wasn't made for it. You can try different extensions like QT reflection (AFAIK only for QT objects) or Boost one (again, class only, classes should be created specifically to support it)