/* primer 30.c */ #include main() { char c; unsigned char k; short s; // short int c = -126; s = c; printf("%d %d\n", c, s ); // -126 -126 s = - 32767; c = s; printf("%d %d\n", c, s ); // 1 -32767 s = -1; k = s; printf("%d %d\n", k, s ); // 255 -1 k = 255; s = k; printf("%d %d\n", k, s ); // 255 255 }