title: Size of short, int, long, float, double long, double, char
body: <p>I want to find out the (short / int / long / float / double / long double / char) size, so I wrote this code:</p>
  
  <pre><code>printf("short\t\t%d\n", sizeof(short));    
  printf("int\t\t%d\n", sizeof(int));
  printf("long\t\t%d\n", sizeof(long));
  printf("float\t\t%d\n", sizeof(float));
  printf("double\t\t%d\n", sizeof(double));  
  printf("long double\t%d\n", sizeof(long double));    
  printf("char\t\t%d\n", sizeof(char));   
  </code></pre>
  
  <p>BUT 
  the output is:</p>
  
  <pre><code>type            bytes
  short           512
  int             512
  long            1024
  float           1024
  double          1024
  long double     1024
  char            256
  </code></pre>
  
  <p>Why are the number of bytes so large?</p>
  
  <p>Shouldn't it be 2, 8, ...?</p>