Which of the following tells the computer to repeat the loop instructions until the end of the

Question:

Which of the following tells the computer to repeat the loop instructions until the end of the file is reached? The file is associated with the inFile object. 

a. while (inFile.eof()) 

b. while (!ifstream.eof()) 

c. while (!inFile.eof()) 

d. while (!ifstream.fail())

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: