what is the difference between put and putc statement?
Answer Posted / Munish Kumar Gautam
In Ruby, put prints a string to standard output and automatically adds a newline character at the end. putc, on the other hand, prints a single byte of data without adding a newline character.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers