Welcome Guest | Sign in | Register
File Handling - Discussion Page For Q.10664 | 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: What is a proper method of opening a file for writing as binary file?
A. FILE *f = fwrite( "test.bin", "b" ); B. FILE *f = fopenb( "test.bin", "w" );
C. FILE *f = fopen( "test.bin", "wb" ); D. FILE *f = fwriteb( "test.bin" );
E. FILE *f = fopen( "test.bin", "bw" );

Answer and Explanation

Answer:FILE *f = fopen( "test.bin", "wb" );

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




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