title: Why do the sizes of data types change as the Operating System changes?
body: <p>This question was asked to me in an interview, that size of <code>char</code> is 2 bytes in some OS, but in some operating system it is 4 bytes or different.</p>
  
  <p>Why is that so?</p>
  
  <p>Why is it different from other fundamental types, such as <code>int</code>?</p>