πŸ“Š C Programming
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

πŸ‘οΈ
67
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
80%
Success Rate