#include
#include
int main(int argc, char** argv) {
char s;
unsigned char u;
int i;
u = -4;
s = -4;
i = u;
printf (“s: 0x%hhx %hhd u: 0x%hhx %hhd, i: 0x%x %d\n”, s,s,u,u,i,i);
}
#include
#include
int main(int argc, char** argv) {
char s;
unsigned char u;
int i;
u = -4;
s = -4;
i = u;
printf (“s: 0x%hhx %hhd u: 0x%hhx %hhd, i: 0x%x %d\n”, s,s,u,u,i,i);
}