Declare Foo As Pointer To Function Returning Pointer To Function Returning Pointer To Array 3 Of Pointer To Function Returning Pointer To Array 4 Of Array 2 Of Pointer To Pointer To Function Returning Pointer To Array 5 Of Pointer To Pointer To Char Char **(*(**(*(*(*(*(*foo)())())[3])())[4][2])())[5] To Turn The Above Into A Ca

HomeFortune CookiesMiscellaneous Collections

declare foo as pointer to function returning pointer to function
returning pointer to array 3 of pointer to function returning
pointer to array 4 of array 2 of pointer to pointer to function
returning pointer to array 5 of pointer to pointer to char
char **(*(**(*(*(*(*(*foo)())())[3])())[4][2])())[5]

To turn the above into a cast, remove the name `foo' and add ():

(char **(*(**(*(*(*(*(*)())())[3])())[4][2])())[5])

Related: