C - Complicated Declarations2

From EdWiki

Revision as of 09:30, 23 June 2015 by Jshankar (Talk | contribs) (1 revision imported: EdWiki -- Emsys pages from Shukra)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.