News for hackers. Stuff that matters.
Re:How Do I Declare a Function Pointer in C? by nialv7 on Friday January 20, 2017 @07:18PM (#13448031)
You define a variable the same way you would use it.

    int *a             -> expression *a has type int.
    int *a[10]         -> *a[_] has type int.
    int (*a)[10]       -> (*a)[_] has type int.
    int (*a)(int, int) -> (*a)(_, _) has type int.
No need for complicated things like "spiral rules", etc.

There are no comments on this comment yet.