1.

Which of the following is not a valid library function?(a) Puts(b) Print(c) Gets(d) GetI had been asked this question during an internship interview.This is a very interesting question from Library Functions in chapter Ruby Basics of Ruby

Answer»

The correct OPTION is (d) Get

Explanation: gets is USED for TAKING input from the USER.



Discussion

No Comment Found

Related InterviewSolutions