Pointer/reference to function as variable

I'm attempting to write a function that will take a function as a parameter, then store it to a variable so it can be used by another function (that is not called by the initial function, so it can't be passed again as a parameter).

I've tried something like this, but it causes the compiler to crash. Is this even possible?

void (findFunc)();

void callFunction(void (*g)()){
    findFunc = &g;

Try it this way:

void (*findFunc)();

void setCallFunction(void (*g)()){
    findFunc = g;
void doCallFunction(){
void tryMe() {
  Serial.println("I was called.");
void setup() {
void loop(){}

Awesome, thanks :)