Re:Everything I wish I knew when learning C
by yakubin on Monday November 28, 2022 @07:36PM
(#33782041)
int, as all other integer types except char, is indeed signed by default.
Aside: signedness semantics of char is implementation-defined. However, the type char itself is always distinct from both signed char and unsigned char.
I'm pretty sure this implies int as a declaration is always signed, but tbh I'm not completely sure!