Which of the following mode declaration is used in C++ to open a file for input ?
A. ios :: app
B. in :: ios
C. ios :: file
D. ios :: in
Answer:D
Which of the following mode declaration is used in C++ to open a file for input ?
A. ios :: app B. in :: ios C. ios :: file D. ios :: in