in Programming in C edited by
2,349 views
0 votes
0 votes

Which of the following mode declaration used in C++ to open a file for input?

  1. ios : : app
  2. in : : ios
  3. ios : : file
  4. ios : : in
in Programming in C edited by
2.3k views

1 Answer

1 vote
1 vote

ios::in mode declaration is used in ++ for open a file.

Hence,Option(D)ios::in .

Reference:-http://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm

Answer:

Related questions