Computer Science, asked by xtreamyt62, 1 month ago

Predict the data type of c' and 'd' after calculation the given expression: i) int a, b; c= (float)(a + b);

Answers

Answered by llElegantlavenderll
0

Answer:

1)float

2) float

mark my answer as brainlist

Answered by ziddigirl789
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