Question: Question 1 2 ( 3 points ) Which of the following statements is true about the parameters in the given code snippet?The parameters to the
Question points
Which of the following statements is true about the parameters in the given code snippet?The parameters to the function must be of type istream and ostream: void linenofileistream readfile, ostream write fileThe parameters to the function must be of the type fstream: void linenofilefstream readfile, fstream writefileThe parameters to the function must be pointers: void linenofileifstream readfile, ofstream write fileThe parameters to the function must be references; void linenofileifstream& readfile, ofstream& write file
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
