What is the difference between int and signed int? Both of them may be positive or negative... | SoloLearn: Learn to code for FREE!

0

What is the difference between int and signed int? Both of them may be positive or negative...

Data type difference

12/9/2017 5:15:11 PM

eksponens

6 Answers

New Answer

+4

there is no difference. int is signed by default.

+4

you can include it so anyone reading your code understands it's signed but it's not required.

+3

you don't need it

+1

Google dude, you could find out in a minute instead of waiting for someone to tell you

0

@Jamie Why do we need 'signed' specificator then?

0

@Jamie lol, thx)