πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Opens a file for reading and writing, creating it if it does not exist

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
81%
Success Rate