Skip to content

Instantly share code, notes, and snippets.

@liori
Last active December 20, 2015 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save liori/6134975 to your computer and use it in GitHub Desktop.
Save liori/6134975 to your computer and use it in GitHub Desktop.
This code does not need a comment.
struct l {
struct l* next;
int value;
};
int main(void) {
struct l elems[300];
int i;
for (i=0; i<300; i++) {
elems[i].next = elems+i+1;
elems[i].value = i;
}
struct l **************************************************************
***********************************************************************
***********************************************************************
****************************************************my_cute_pointer = elems;
printf("%d\n", (*******************************************************
***********************************************************************
***********************************************************************
***********************************************************my_cute_pointer).value);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment