Meaning of complex C syntax [duplicate]

c is an array of 10 function pointers that return a char* and take a int** as an argument.

(*c[10])
   ^^^^ = array of 10

(*c[10])
 ^ = function pointer

So right now we have an array of 10 function pointers.

char *(*c[10])
^^^^^^ = returns a char*

char *(*c[10])(int** p)
               ^^^^^ = takes a int** as an argument

Array of 10 function pointers that return a char* and take a int** as an argument.

NOTE: If you write code like this you deserve to be slapped in the face.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)