Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A glimpse of undefined behavior in C. Parent comment
Clang says:
zsh% clang -o sequencepoints sequencepoints.c sequencepoints.c:7:18: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] int r = 1 * a[i++] + 2 * a[i++] + 3 * a[i++]; ^ ~~ 1 warning generated.
zsh% ./sequencepoints 140
There are no comments on this comment yet.
Clang says:
And prints: