Question: please solve it as possible as soon Question Two: which of the following is the correct syntax to create a file input stream in C++?

 please solve it as possible as soon Question Two: which of

please solve it as possible as soon

Question Two: which of the following is the correct syntax to create a file input stream in C++? a) ifstream INPUT ("average.txt"); b) FILE* INPUT = fopen("average ", ios::in || ios:out); c) INFILE INPUT.open("average ", ios::in ); d) FILE* INPUT = fopen("average ", ios::in); Time : AM Question Three: Write a function called printPrime that takes as parameters an input file stream called Numbers.txt" and print prime numbers to an output file stream called Prime.txt. Note that file contain numbers up to 777. Time : AM

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!