OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 185
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
Question 185 Explanation: 
ios::in → Open a file for reading.
ios::app → Append mode. All output to that file to be appended to the end.
Correct Answer: D
Question 185 Explanation: 
ios::in → Open a file for reading.
ios::app → Append mode. All output to that file to be appended to the end.

Leave a Reply

Your email address will not be published. Required fields are marked *