Consider a program that reads data from an input file named in.dat,
performs calculations, and outputs the results to a file named result.out.
A. What would happen if the file in.dat did not exist before the program is
executed?
B. What are the contents of the file in.dat after the execution of the
program?
C. What would happen if the file result.out did not exist before
the program is executed?
D. What could happen if the output file was not closed at the end of the
execution?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here