Submitted Questions

  • Short int and int

    What is the difference between short int and int?

    jbode

    • Feb 11th, 2012

    The general idea is that short "always" represents a 16-bit integer, whereas int represents whatever the native word size is for that particular architecture (16- or 32-bit). "Always" is in scare quo...

    sumit

    • Feb 6th, 2012

    Sorry to say that actually in most of C compiler short int is also of 16 bit and they are equivalent to each other.