Data Types


  1. In a 32-bit compiler, which 2 types have same size?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    int and float


  1. Which among the following is never possible as an output for float?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: E

    None of these



  1. How many digits are present after decimal in float value?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    6


  1. When do you need to use type-conversions?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    *The value to be stored is in a form not supported by that data type.
    *To reduce the memory in use, relevant to the value.
    *The value to be stored is beyond the max limit.



  1. Which of the following typecasting is accepted by C?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Widening & Narrowing conversions