jdhao's digital space

Recent content on jdhao's digital space

马上订阅 jdhao's digital space RSS 更新: https://jdhao.github.io/index.xml

Integer Literal Type and Overflow In C++

2021年9月3日 23:18

I want to print the largest number that unsigned int can represent, which is 2^32 - 1. I use the following code: