// Clause: 6.5.6/6.5.7 — If pointer arithmetic overflows the range representable for the array object (e.g., huge index),
// the behavior is undefined.
#include <stdio.h>
int main(void){
    int a[4] = {0};
    int *p = a + 1000000; // far beyond array
    int v = *p; // UB
    printf("%d\n", v);
    return 0;
}
