InterviewSolution
Saved Bookmarks
| 1. |
Which function is used to position back from the end of file object?(a) seekg(b) seekp(c) both seekg & seekp(d) seekfI had been asked this question by my school teacher while I was bunking the class.My doubt stems from File Streams and String Streams topic in section Strings, Streams & Numerics in C++ of C++ |
|
Answer» CORRECT OPTION is (a) seekg To explain: The MEMBER function seekg is used to position back from the end of FILE object. |
|