How to print an unsigned char in C?

Declare your ch as

unsigned char ch = 212 ;

And your printf will work.

Leave a Comment