Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

unsigned char c programming

unsigned char ch = 'a';
//unsigned char is a character datatype where the variable consumes 
all the 8 bits of the memory and there is no sign bit (which is there in signed char).
So it means that the range of unsigned char data type ranges from 0 to 255.
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #unsigned #char #programming
ADD COMMENT
Topic
Name
1+7 =