Q. How do you check the current position of the file pointer?

  • (A) file.position()
  • (B) file.tell()
  • (C) file.getpos()
  • (D) file.locate()
πŸ’¬ Discuss
βœ… Correct Answer: (B) file.tell()
Explanation: tell() returns the current byte position of the file pointer.
Explanation by: Mr. Dubey
tell() returns the current byte position of the file pointer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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