0
C
Guys i have a problem i installed dev-C++ when write quite numbers and i tried to add them like 1525252525+6636363636 i see the negative numbers why
2 Réponses
+ 1
hello grab crep.
Depend on the code that you wrote.
If you have a question on code issues, you need to provide a minimum viable code.
Do so by pasting it in the code playground.Saving it, press the circled "+" button the share it in a comment.
https://www.sololearn.com/discuss/1316935/?ref=app
+ 1
That's probably because the sum of two numbers exceeds the maximum range of integer which is 2³²-1 in case of signed integer and 2³²/2 in case of unsigned integer.
See the link below the check exact ranges of all primitive data types
https://www.tutorialspoint.com/cprogramming/c_data_types.htm