I am reading some tutorials on embedded programming and one of them says int and signed int are different but does not explain how or why.
I understand why unsigned int and int are different but int and signed int being different is a new one for me.
It is for historical reasons only. Today whenever you declare
intyou get asigned int. The only point where you might see a difference even with today’s compilers is withcharversussigned charwhich are different by specification (and notable when assigning a literal string) but not withint.