Actions

EmSys

C - Complicated Declarations2

From EdWiki

Complicated Declarations ...

char** argv;	// pointer to pointer to char
int (*daytab)[13];// pointer to array[13] of ints
int* daytab[13];// array[13] of pointers to ints
int* comp(void);// function returning pointer to int
void (*comp)(void); // pointer to function returning void
char (*(*x())[])(); // function returning pointer to array[] of 			
                    // pointers to functions returning char
char (*(*x[3])())[5]; // array[3] of pointers to functions 			
                      // returning pointer to array[5] of char.