Reading this book: https://www.oreilly.com/library/view/programming-rust/9781491927274/ch01.html
It says:
Consider the following C program:
According to C99, because this program accesses an element off the end of the array a, its behavior is undefined, meaning that it can do anything whatsoever. When we ran this program on Jim’s laptop, it produced the following output:
Then it crashed. Jim’s laptop doesn’t even have a .netrc file. If you try it yourself, it will probably do something entirely different.