https://iumi.ru/programmirovanie/c/neopredelennoe-povedenie-i-tochki-posledovatelnosti-v-c/
Неопределенное поведение и точки последовательности в C++