Q. What will ftell() return?
Code:
FILE *fp = fopen("data.txt", "r");
ftell(fp);
β
Correct Answer: (C)
Current file position
Explanation: ftell() returns the current position of the file pointer.