Computer Science, asked by SANDROKnack, 6 months ago

5. Give the data type and type of conversion of the following expressions.
i) char c; float f: double d;
c*fd:
ii) int i, j; float f: double d;
(int)(i+1)/(*d):

Please answer me the question fast as you can

PLEASE LET THE ANSWER BE CORRECT​

Answers

Answered by anindyaadhikari13
1

Question:-

Give the data type and type of conversion of the following expressions.

Solution:-

Question 1.

Given,

char c; float f; double d

Resultant data type

> char + float + double

> float +double

> double (Implicit Type Casting)

Question 2.

int i,j; float f; double d;

(int)(i+1)/(f*d)

Resultant data type

> int

Hence, the resultant data type is int.

(implicit type casting)

Similar questions