____ creates a new file and makes the file available for output; if a file exists with the same name, the old file is erased.
A) fileOut = fopen("prices.dat","r") ;
B) fileOut = fopen("prices.dat","w") ;
C) fileOut = fopen("prices.dat","a") ;
D) fileOut = fopen("prices.dat","b") ;
Correct Answer:
Verified
Q32: The standard input stream is named _.
A)stdin
B)stdout
C)instream
D)ostream
Q33: The standard output stream is named _.
A)stdin
B)stdout
C)instream
D)ostream
Q34: Naming a file stream is accomplished by
Q35: Notice that each file stream name, when
Q36: The actual declaration of the FILE structure
Q38: _ makes an existing file available for
Q39: A file stream is closed using the
Q40: _ writes a string to a file.
A)fputc()
B)fputs()
C)fwrites()
D)fprintf()
Q41: C appends the low-value hexadecimal byte _
Q42: _ reads values for the listed arguments
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents