Welcome Guest | Sign in | Register
File Handling - Discussion Page For Q.10653 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > File Handling > Questions and Answers

Exercise:

Section 1

Q: Using input_file, open the file results.dat for read mode.
A. input_file = "results.dat" opened as "r"; B. open input_file as "results.dat" for "r";
C. fopen( input_file, "results.dat", "r" ); D. input_file = fopen( "results.dat", "r" );

Answer and Explanation

Answer:input_file = fopen( "results.dat", "r" );

Explanation:
input_file = fopen( "results.dat", "r" );

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.