News for hackers. Stuff that matters.
Re:C will never stop you from making mistakes by MaxBarraclough on Monday August 10, 2020 @12:20PM (#24110906)
Even if your coding style prohibits multiple declarations, you still don't escape the fact that in C, the asterisk binds to the variable identifier, not to the type. It crops up again in the function pointer syntax:

    void *(*foo)(int *);
foo is a pointer to a function which accepts a pointer-to-int and returns a pointer-to-void.

( Taken from https://www.cprogramming.com/tutorial/function-pointers.html )

Re:C will never stop you from making mistakes by tgb on Monday August 10, 2020 @04:35PM (#24113685)
Thanks, this is the best example I've seen.