MCQ Answer

Which function will return the current file position for stream?

Which function will return the current file position for stream?

कौन सा फ़ंक्शन स्ट्रीम के लिए वर्तमान फ़ाइल स्थिति लौटाएगा?
Topic : File Processing

A. fgetpos()

B. fseek()

C. ftell()

D. fsetpos()




Correct Answer is :

C. ftell()



Explanation
The current file position is returned by ftell() function for stream, or -1L on error.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad