Ruby Developer Question:

What is the difference between put and putc statement?

Tweet Share WhatsApp

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 PDF Read All 74 Ruby Developer Questions
Previous QuestionNext Question
What is the syntax for Ruby collect Iterator?Tell me how can we define Ruby regular expressions?