Monday, March 7, 2016

Char Data Type

 the char is used to storing  simple character  

 Unsigned: It consist only positive value i.e 0 to 255.
Signed: It consist both negative and positive values but in different formats like
-1 to -128
  • 0 to +127
And this all explanation is about 8 bit number system
Char has 1 byte only 

int main()

  char a ;

etc 

No comments:

Post a Comment