Answer:
Option b outFile.open("outputData.out");
Explanation:
In C++, there are several classes given to handle output and input of characters to or from files. They are:
- ofstream that write on files
- ifstream that read from files
We can use an object of ofstream to hold the contents that we wish to output to an external file. The general syntax is as follows:
ofstream_obj.open(file_name)
This will create a file with a specific file name and it possesses all the contents from the obstream_obj.
Answer:
Print preview allows you to view your document before printing
Some example's of coding affecting real life:
- Robots used in factories. can work in extreme conditions.
- Automatic Heater or Air Conditioner.
- Expert Systems used in for Medical Use.
The correct answer is C. Customer spreadsheet