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
(#108438@0)
2001-6-21 -05:00

回到话题: show u another dark spot of c

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=108438