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 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
Get step-by-step solutions from verified subject matter experts
