#include static int x; static int instruction_start; #define z \ (__LINE__ - 12) % 9 ? x |= 1 << (__LINE__ - instruction_start) \ : putchar(x); int main(int argc, char **argv) { instruction_start = __LINE__ + 1; z // 0 // 1 // 2 // 3 // 4 z // 5 z // 6 // 7 z }