the char is used to storing simple character
Unsigned: It consist only positive value i.e 0 to 255.
-1 to -128
Signed: It consist both negative and positive values but in different formats like
- 0 to +127
And this all explanation is about 8 bit number system
Char has 1 byte only
int main()
{
char a ;
etc
Char has 1 byte only
int main()
{
char a ;
etc
No comments:
Post a Comment