0

I wonder how to read a complex definition like that

int (*(*a())[]) ()) ;

And what is the order of reading such definitions ?

W.Wafi
  • 11
  • 2
  • [cdecl](https://cdecl.org/?q=int+%28*%28*a%28%29%29%5B%5D%29%28%29%3B) might be of interest. – Reticulated Spline Sep 14 '18 at 21:06
  • Not an exact duplicate, as it's a different signature, but it's close enough. Basically this is a function, `a` that returns an array of function pointers that when called all return ints. – Edwin Buck Sep 14 '18 at 21:07

1 Answers1

1

Check this out: https://cdecl.org/. It's a handy tool if you're new at reading these types of functions.

danbutts
  • 94
  • 1
  • 8