Home » C++ Programming » Files and Streams » Question
  1. Which member function is used to determine whether the stream object is currently associated with a file?
    1. buf
    2. string
    3. is_open
    4. All of above
    5. None of these
Correct Option: C

The member function is_open can be used to determine whether the stream object is currently associated with a file.



Your comments will be displayed only after manual approval.