how to pass arguments in a funcitons in cpp code example Example: c++ how to make function as argument void func ( void (*f)(int) );