|
|
|
|
|
by ordu
302 days ago
|
|
Try this in C: *(int*)0 = 0; Modern C compilers could require you to complicate this enough to confuse them, because their approach to UB is weird, if they saw an UB they could do anything. But in olden days such an assignment led consistently to SIGSEGV and a program termination. |
|
IBM did this for a long time