/* typesize.c in Module locker */
/* Compute the size of some fundamental types. */
#include <stdio.h>
main()
{
printf("The size of the fundamental types is computed.\n\n");
printf(" char:%3d byte \n", sizeof(char)); /* 1 */
printf(" short:%3d bytes\n", sizeof(short)); /* 2 */
printf(" int:%3d bytes\n", sizeof(int)); /* 2 */
printf(" unsigned:%3d bytes\n", sizeof(unsigned)); /* 2 */
printf(" long:%3d bytes\n", sizeof(long)); /* 4 */
printf(" float:%3d bytes\n", sizeof(float)); /* 4 */
printf(" double:%3d bytes\n", sizeof(double)); /* 8 */
printf("long double:%3d bytes\n", sizeof(long double)); /*10*/
}