https://www.somethingsblog.com/2024/10/20/reverse-integers-like-a-pro-c-programming-magic/