OOPS
August 29, 2024OOPS
August 29, 2024OOPS
|
Question 185
|
Which of the following mode declaration is used in C++ to open a file for input ?
|
ios : : app
|
|
|
in : : ios
|
|
|
ios : : file
|
|
|
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.
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.
ios::app → Append mode. All output to that file to be appended to the end.
