unsigned char a = 0x80;

char b = 0x80;
printf("%x %x\n",a,b);