Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to represent unsigned char with % c

#include<stdio. h>
int main(int argc, char *argv[]) {
signed char char1=255;
unsigned char char2=255;
printf("Signed char : %d
",char1);
printf("Unsigned char : %d
",char2);
}
 
PREVIOUS NEXT
Tagged: #represent #unsigned #char
ADD COMMENT
Topic
Name
2+8 =