Which of the following are valid floating point literal?
(a) .5
(b) 2
(c) 0.5
(d) None of the mentioned
This question was posed to me during an interview for a job.
This intriguing question comes from Basics in section Ruby Basics of Ruby
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.