Data Types
- In a 32-bit compiler, which 2 types have same size?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
int and float
- Which among the following is never possible as an output for float?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: E
None of these
- How many digits are present after decimal in float value?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
6
- When do you need to use type-conversions?
-
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.
- Which of the following typecasting is accepted by C?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Widening & Narrowing conversions