Computer Science, asked by garimagup2006, 1 month ago

predict the return data type of the following :
int p ; double q; r=p+q system .out printin (r); ​

Answers

Answered by ankushchakraborty509
2

Answer:

The Data type is Double

Explanation:

Because the variable 'q' is of Double Data type so the sum of q and p will give a Double.

Similar questions