3 ms·
Also, as a parameter to a function, alternative: int my_function(returnType parameterName (parameterTypes)); When you apparently declare a function paramete
by kazinator 9y ago
Also, as a parameter to a function, alternative:
int my_function(returnType parameterName (parameterTypes));
When you apparently declare a function parameter of function type, the type is adjusted to pointer-to-function, similarly to the way array types as parameters are pointers.
This style is useful for de-cluttering code that has a lot of functional parameters all over the place.