It was before C had built-in booleans and the author had defined their own, but true was:
void * true_ptr = &true_ptr;
true_ptr is a pointer to itself. So however many times you deference it: printf("%p\n", true_ptr);
printf("%p\n", &true_ptr);
printf("%p\n", *((void**)true_ptr));
printf("%p\n", *((void**)*((void**)true_ptr)));
You get the same pointer: 0x5555fefe715b
0x5555fefe715b
0x5555fefe715b
0x5555fefe715b
I still think that it's neat that, even with ASLR, you have an address at compile time that you know won't collide with address space of malloc results, or the address space of your stack.Also you can declare the pointer as const and the value it points to as const and, if your kernel faults on writing to readonly memory pages, you get a buggier version of a NULL pointer that only segfaults on write.
Also it takes a second to figure out why the position of the const matters even though the pointer's value is the value of the pointer, and why only one of these segfaults on write:
const void * const_pointer = &const_pointer;
void * const const_value = &const_value;