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

30th Nov 2019, 2:48 PM
grab crep
grab crep - avatar
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
30th Nov 2019, 2:56 PM
Manual
Manual - avatar
+ 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
30th Nov 2019, 5:05 PM
blACk sh4d0w
blACk sh4d0w - avatar