That neat. This might especially be useful for people just learning C. As they learn new stuff, they can type their first uses of it into this to ensure it means what they think it does.
I see that it was fixed in 2016 to support int const *x, but static struct foo { short bar; } * footab[16]; (Debian bug #431027) still isn’t supported.
I’m not sure about “especially useful for people learning C” as it requires basic knowledge of the language (which is the biggest problem for people learning C as they often learn it wrong from teachers, silly tutorials and incorrect books), but it has its uses.
char (*(*x())[5])()What I really want is a rosetta stone version of this. :) What does that look like in Java? Rust? OCaml?
That neat. This might especially be useful for people just learning C. As they learn new stuff, they can type their first uses of it into this to ensure it means what they think it does.
I see that it was fixed in 2016 to support
int const *x, butstatic struct foo { short bar; } * footab[16];(Debian bug #431027) still isn’t supported.I’m not sure about “especially useful for people learning C” as it requires basic knowledge of the language (which is the biggest problem for people learning C as they often learn it wrong from teachers, silly tutorials and incorrect books), but it has its uses.