Home / C Programming / Declarations and Initializations :: True / False Questions

C Programming :: Declarations and Initializations

  1. A long double can be used if range of a double is not enough to accommodate a real number.

  2. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. A float is 4 bytes wide, whereas a double is 8 bytes wide.

  4. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. If the definition of the external variable occurs in the source file before its use in a particular function, then there is no need for an extern declaration in the function.

  6. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. Range of double is -1.7e-38 to 1.7e+38 (in 16 bit platform - Turbo C under DOS)

  8. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  10. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. Range of float id -2.25e+308 to 2.25e+308

  12. A.
    True
    B.
    False

    View Answer

    Workspace

    Discuss Discuss in Forum