Ruby Developer Question:
Download Questions PDF

What is the difference between put and putc statement?

Answer:

Unlike the puts statement, which outputs the entire string onto the screen. The Putc statement can be used to output one character at a time.

Download Ruby Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is the syntax for Ruby collect Iterator?Tell me how can we define Ruby regular expressions?