Yes, int's are always signed unless you say unsigned.
The same is not true for chars, which may be signed or unsigned (by default)
Yes, int's are always signed unless you say unsigned.
The same is not true for chars, which may be signed or unsigned (by default)
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.