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.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz