Consider the code snippet below for a second:
class A{
public:
void shout(int, void (*callback)(int)){}
void doubleValue(int){}
void call_shout(){
shout(2, (*doubleValue)(int));
}
};
How to call the shout function with the doubleValue function as a parameter inside the call_shout function?