title: Does sizeof return the number of bytes or the number of octets of a type in C?
body: <p>Simply put in C and variants (unlike that wuss java with its virtual machine) the size of primitive types on different targets can vary greatly, and there is really no guarantee unless you use the fixed width types defined in <code>stdint.h</code>, and even then your implemenation has to support them.</p>
  
  <p>Anyway hypothetically(because on most modern machines a byte is an octet, for networking purposes I assume(ASCII)) does sizeof return the size of a datatype in bytes or in octets?</p>