Skip to content

Instantly share code, notes, and snippets.

@cbrinker
Created January 31, 2012 21:54

Revisions

  1. cbrinker created this gist Jan 31, 2012.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    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);
    }