hello everyone, let's assume I have this snippet of the code:
void foo_for_foo( void some_function(int, int)) <------
{
int x = 5;
some_function(x, x);
}
and also this one (actually the same with small difference)
void foo_for_foo( void (*some_function)(int, int)) <-------
{
int x = 5;
some_function(x, x);
}
my question is, does it matter how do I write it
void foo_for_foo( void some_function(int, int))
or
void foo_for_foo( void (*some_function)(int, int))
cause in both cases I receive the same result thanks in advance