1、
#include <stdio.h> int main(void) { signed short int num1 = 10; unsigned short int num2= 10; signed int num3 = 10; unsigned int num4 = 10; signed long int num5 = 10; unsigned long int num6 = 10; signed long long int num7 = 10; unsigned long long int num8 = 10; printf("signed short int: %hd.\n", num1); printf("unsigned short int: %hu.\n\n", num2); printf("signed int: %d.\n", num3); printf("unsigned int: %u.\n\n", num4); printf("signed long int: %ld.\n", num5); printf("unsigned long int: %lu.\n\n", num6); printf("signed long long int: %lld.\n", num7); printf("unsigned long long int: %llu.\n", num8); return 0; }