Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.62K Points
Coach

Q. What does the 'r+' file mode in Ruby signify?

(A) Opens a file for appending, creating it if it does not exist
(B) Opens a file for writing, creating it if it does not exist
(C) Opens a file for reading and writing, creating it if it does not exist
(D) Opens a file for reading and appending, creating it if it does not exist

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.