About Pointers To Functions in function declarations
When you write int fun2(int fun()), the parameter int fun() converts into int (*fun)(), it becomes exactly equivalent to this: int fun2(int (*fun)()); A more famiiar conversion happens in case of array when you declare it as function parameter. For example, if you’ve this: int f(int a[100]); Even here the parameter type converts into int*, … Read more