4 ms·
Neat site! // declare foo as pointer to function (void) returning pointer to array 3 of int int (*(*foo)(void ))[3] That's actually a great example to
by shurcooL 13y ago
Neat site!
// declare foo as pointer to function (void) returning pointer to array 3 of int
int (*(*foo)(void ))[3]
That's actually a great example to throw at Go's syntax, which if you read from left-to-right, is perfectly one-to-one with the english:
// declare foo as pointer to function (void) returning pointer to array 3 of int
var foo *func() *[3]int
http://play.golang.org/p/1b48cjmZbx http://play.golang.org/p/1b48cjmZbx