I'm very new to C++ and while I was trying to do something by brute force, and while adding some positive integers, I noticed at some point that the sum became negative.
By looking a little bit more closely, I noticed that adding 2147483647 with 1 is returning -2147483648.
Does someone knows why this - sign appears ?