ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which of the following are valid floating point literal?
.5
2
0.5
None of the mentioned
Correct Answer: C — 0.5
floating point literals are valid only when they have digits on both the sides of decimal point.