Created
June 7, 2015 09:34
-
-
Save chr33s/e363b40ecfe51fb47861 to your computer and use it in GitHub Desktop.
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