The compiler is just doing what the ANSI C standard has defined.

numnum (numnum)
All data types (mostly for integral types, becaue float and double are always signed) default to "signed" except for char. So , in the compiler's point of view, "int" equals to "signed int", while "char" and "signed char" are two different types
2001-6-21 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: show u another dark spot of c

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论