Skip to content

Instantly share code, notes, and snippets.

@cbrinker
Created January 31, 2012 21:54
Show Gist options
  • Save cbrinker/1713229 to your computer and use it in GitHub Desktop.
Save cbrinker/1713229 to your computer and use it in GitHub Desktop.
char *c[]= {"ENTER", "NEW", "POINT", "FIRST", };
char **cp[]= {c + 3, c + 2, c + 1, c};
char ***cpp= cp;
main()
{
printf("%s", **++cpp);
printf("%s ", *--*++cpp + 3);
printf("%s", *cpp[-2] + 3);
printf("%s\n", cpp[-1][-1] + 1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment