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

a. We have read past the end of the input file and attempt to output a nonexistent value

Computer Science & Information Technology

You might also like to view...

________ equate the values in a table or another query to the criteria value you set up in a query

A) Comparison operators B) Search criteria C) Is Null criteria D) Query operators

Computer Science & Information Technology

Consider the following memory module advertisement: DDR3 PC3-12800, CL13, unbuffered, non-ECC, DDR3-1600 1.5V, 512Meg x 64. Which item is true for the provided information?

A) Parity is used. B) This chip does not use ECC or parity error checking. C) RDRAM, Inc., developed the technology used on this chip. D) It takes 13 clock cycles to transfer 64 bytes of memory.

Computer Science & Information Technology