title: What are the byte sizes of basic data types in C
body: <p>I have a pretty basic question to which I am not able to find concrete answers</p>
  
  <p>By default what are the sizes of an int, short, long in C? when I say int a, is it signed by default ? </p>
  
  <p>Also what is the size of unsigned values of the same. i.e unsigned int, unsigned short etc ?</p>
  
  <p>I am using mac os x and xcode to compile/run. I tried doing sizeof (int) and it returns 4 bytes for both "int" and "unsigned int". What is the size difference between signed and unsigned ? </p>