Solved

What Is Wrong with the Following Code

Question 32

Multiple Choice

What is wrong with the following code?
While ! fileIn.eof) )
{
FileIn >> value;
FileOut << value;
}


A) We have read past the end of the input file and attempt to output a nonexistent value
B) We have written past the end of the output file
C) Nothing
D) A and B

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions