Question: Study the code given below and answer the questions belowit: 1. Hinclude viostreams 2. Winclude cfstream? 3. using namespace std: 4. Int mainy 5. 1

 Study the code given below and answer the questions belowit: 1.

Study the code given below and answer the questions belowit: 1. Hinclude viostreams 2. Winclude cfstream? 3. using namespace std: 4. Int mainy 5. 1 6. chat character: 7. int integer. 8. ofstream out stream: ifstream in stieam: 10. 11. / Create a file containing two integers 12. out streamiopen (7integers. xtt2 ); 13. out stream % 17. in stream. open ('integers bt ') 18. in stream character > integer 19. Lout e character," escharacter e 4 "; 20. cout integer: ce integer ce "vi; 21. instream character s integer: 22. cout ee "character: " secharacter e mn"; 23. cout "integer " s integer s " nn ". 24. in.stream,dosel) 25. retum 0 : 26.1 Q1. Name the 2 objects thefined in this program, Explain what each object does. 92. Write the contents of the file Integers.tut exactly as it would appear in the file. Q3. Explain what each of the fines from 17 to 23 do, You can copy paste thw lines one by one and explain what taichline does, tience determine the output of given program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!