Answers for "c print unsigned char"

C
4

c print char

char bob = 'X';
printf("%c", bob);
putchar(bob);
Posted by: Guest on April-02-2021
0

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.
Posted by: Guest on April-02-2022

Code answers related to "C"

Browse Popular Code Answers by Language