I have to describe the following code:
char *(**f[][]) ();
I understand the "char *" at the beginning and the "()" at the end: It's a function which doesn't have arguments and returns a pointer to char. But what does " ( * * f [ ][ ] ) " mean?
Can anyone help me please? Thanks =D
There's a very useful website you might want to know about: http://cdecl.org/
declare f as array of array of pointer to pointer to function returning pointer to char
In a bit easier to read english, f
is a 2d array of pointers to function pointers, that return strings (or pointers to characters).
Quite why you'd need that I have no idea.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.