What will be resultant type of expression.
Q36. What will be the resultant type of the following expression if f1 is a float variable and db is a double variable?
(int) (f1+db).
Ans. The resultant type of the above given expression would be int.
Q36. What will be the resultant type of the following expression if f1 is a float variable and db is a double variable?
(int) (f1+db).
Ans. The resultant type of the above given expression would be int.