____ 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");


Answer: B

Computer Science & Information Technology

You might also like to view...

How can a receiver tell whether an Ethernet frame uses the 802.3 standard?

What will be an ideal response?

Computer Science & Information Technology

Write a method to draw a text string rotated 90 degrees to the right down the right side of the picture.

What will be an ideal response?

Computer Science & Information Technology

Camera shake can be reduced by looking for a camera that provides ________

A) a digital zoom B) image stabilization C) burst mode D) an optical zoom

Computer Science & Information Technology

You can add the Section indicator to the _____ using a shortcut menu.

A. Ribbon B. Quick Access Toolbar C. status bar D. none of the above

Computer Science & Information Technology