Predict the data type of c' and 'd' after calculation the given expression: i) int a, b; c= (float)(a + b);
Answers
Answered by
0
Answer:
1)float
2) float
mark my answer as brainlist
Answered by
1
Answer:
(i) float
1st one as both variables a and b are of integer data type it is a converted to higher data type type so c will also be a float .This is a explicit data conversion
Similar questions