logo

CuriousTab

CuriousTab

Declarations and Initializations problems


  • 1. Size of short integer and long integer would vary from one platform to another.

  • Options
  • A. True
  • B. False
  • Discuss
  • 2. Range of float id -2.25e+308 to 2.25e+308

  • Options
  • A. True
  • B. False
  • Discuss
  • 3. A long double can be used if range of a double is not enough to accommodate a real number.

  • Options
  • A. True
  • B. False
  • Discuss
  • 4. Range of double is -1.7e-38 to 1.7e+38 (in 16 bit platform - Turbo C under DOS)

  • Options
  • A. True
  • B. False
  • Discuss
  • 5. A float is 4 bytes wide, whereas a double is 8 bytes wide.

  • Options
  • A. True
  • B. False
  • Discuss
  • 6. Size of short integer and long integer can be verified using the sizeof() operator.

  • Options
  • A. True
  • B. False
  • Discuss

First 2 3 4