Advertisements
Advertisements
Question
Give reason whether the following assignment is correct or not.
double n = 455.29044125;
One Line Answer
Solution
This assignment is correct since 455.29044125 is a double data type literal that has been correctly assigned to a double variable.
shaalaa.com
Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - EXERCISES [Page 33]