Q. What will ftell() return?

Code:
FILE *fp = fopen("data.txt", "r");
ftell(fp);
  • (A) Pointer
  • (B) Line number
  • (C) Current file position
  • (D) Size of file
πŸ’¬ Discuss
βœ… Correct Answer: (C) Current file position
Explanation: ftell() returns the current position of the file pointer.
Explanation by: Mr. Dubey
ftell() returns the current position of the file pointer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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