Q. Which method would you use to reset the file pointer to the start?

  • (A) begin()
  • (B) reset()
  • (C) seek(0)
  • (D) start()
πŸ’¬ Discuss
βœ… Correct Answer: (C) seek(0)
Explanation: seek(0) moves the file pointer to the beginning of the file.
Explanation by: Mr. Dubey
seek(0) moves the file pointer to the beginning of the file.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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