Question
What will you do to treat the constant 3.14 as a float?
Answer: Option B
Was this answer helpful ?
Given 3.14 is a double constant.
To specify 3.14 as float, we have to add f to the 3.14. (i.e 3.14f)
Was this answer helpful ?
More Questions on This Topic :
Question 4.
The binary equivalent of 5.375 is
....
Question 8.
By default any real number is treated as :
....
Submit Solution