Question: What is the data type of the expression given below? int x = 15, y = 7; result; result = (double)(x + y); (a) int
What is the data type of the expression given below?
int x = 15, y = 7;
result = (double)(x + y);
(a) int
(b) long
(c) double
(d) float
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
