1、
#include <stdio.h> int main(void) { signed short ss= 100; unsigned short us= 100; signed int si= 100; unsigned int ui= 100; signed long sl= 100; unsigned long ul= 100; signed long long sll= 100; unsigned long long ull= 100; printf("signed short: %hd. ", ss); printf("unsigned short: %u. ", us); printf("signed int: %d. ", si); printf("unsigned int: %u. ", ui); printf("signed long: %ld. ", sl); printf("unsigend long: %lu. ", ul); printf("signed long long: %lld. ", sll); printf("unsigned long long: %llu. ", ull); return 0; }