Ruby Developer Question:
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.
Previous Question | Next Question |
What is the syntax for Ruby collect Iterator? | Tell me how can we define Ruby regular expressions? |