1 #include <stdio.h>
2 int main(void)
3 {
4 printf("sizeof(short int) = %zd\n", sizeof(short int));
5 printf("sizeof(int) = %zd\n", sizeof(int));
6 printf("sizeof(long int) = %zd\n", sizeof(long int));
7 printf("sizeof(long long int) = %zd\n", sizeof(long long int));
8
9 printf("sizeof(unsigned short int) = %zd\n", sizeof(unsigned short int));
10 printf("sizeof(unsigned int) = %zd\n", sizeof(unsigned int));
11 printf("sizeof(unsigned long int) = %zd\n", sizeof(unsigned long int));
12 printf("sizeof(unsigned long long int) = %zd\n", sizeof(unsigned long long int));
13
14 return 0;
15 }