Re: Signedness of char and puts()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ed,

> Does anyone know why this occurs? 

Those are three different types.
+ char
+ unsigned char
+ signed char

"Hello" is a char*, not an unsigned char* or signed char*.

(In C++ "Hello" is a char const*.)

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux