rn*****@yahoo.com wrote:
i mean where should i use signed char
signed char is guaranteed to be able to represent integer values in the
range -127 to +127. If that's all you need, and if you're desperately short
of space, and if ints or short ints are so huge that you simply can't
allocate enough of them for your needs, then you might want to consider
using signed char.
In "normal" C usage, they are generally unnecessary. If you need to store
integer values, use int or long int. If you need to store character data,
use plain old char. If you need to store arbitrary byte values, use
unsigned char.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
mail: rjh at above domain