summaryrefslogtreecommitdiff
path: root/reference/C/CONTRIB/SNIP/weird.c
blob: 293435074146284859f5bcd12e4a3bac8ba7c43f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include<stdio.h>

char *c[] = { "ENTER", "NEW", "POINT", "FIRST" };
char **cp[] = { c+3, c+2, c+1, c };
char ***cpp = cp;

void main()
{
    printf("%s", **++cpp);
    printf("%s ", *--*++cpp+3);
    printf("%s", *cpp[-2]+3);
    printf("%s\n", cpp[-1][-1]+1);
}