-
-
Save johnteee/8349c6c8d0f957dc3f64f08e9d0d59d4 to your computer and use it in GitHub Desktop.
C pointers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char *x; // x: a pointer to char | |
char x[3]; // x: an array[3] of char | |
char x(); // x: a function() returning char | |
char *x[3]; // x: an array[3] of pointer to char | |
char (*x)[3]; // x: a pointer to array[3] of char | |
char **x; // x: a pointer to pointer to char | |
char *x(); // x: a function() returning pointer to char | |
char *x()[3]; // x: a function() returning array[3] of pointer to char | |
char (*x[])(); // x: an array[] of pointer to function() returning char | |
char (*x())(); // x: a function() returning pointer to function() returning char | |
char (*(*x)[])(int, int); // x: a pointer to array[] of pointer to function(int,int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment