Vidyalelo
Ruby Programming · Q23

File Input Output in Ruby

Programming · Ruby Programming · question 23

Q23

What does the binmode method do in Ruby file I/O?

A.
Sets the file mode to text mode
B.
Sets the file mode to read-only mode
C.
Sets the file mode to write-only mode
D.
Sets the file mode to binary mode
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board