The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.
A Runtime Error in Windows 11/10is an error that occurs at the time of running or executing a program. When this error occurs, the program may hang or crash ...