lebronbangs1555 lebronbangs1555
  • 03-01-2020
  • Computers and Technology
contestada

5. If a file does not exist and a program attempts to open it in append mode, what happens

Respuesta :

Debel
Debel Debel
  • 03-01-2020

Answer:

It create a new file in which writing of data begins.

Explanation:

A file can be open in the three mode:

-r (Read mode): open an existing file for the purpose of reading data from it.

-w (write mode): Create a new file for the purpose of writing data to it.

-a (append mode): open an existing file for the purpose of appending extra data to it but if the file does not exist, it create a new file and start writing data to it.

Answer Link

Otras preguntas

What is the mean of 87, 93, 86, 90, and 84?
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?
Which of the following can be considered fossils? a. a 1 billion year-old rock. b. a 1 billion year-old piece of amber. c. a 1 billion year-old piece of amber w
An airplane travels 3,260 kilometers in 4 hours. What is the airplane’s average speed?
Can somoene help me with this question??How might the history of the U.S. have been different if the original thirteen states had been guaranteed a perpetual ma
which factor made the most difference in how agriculture affected the economies of the colonies?
Determine whether the sequence coverage or diverges. If it converges, give the limit. 48, 8, 4/3, 2/9, ...
How many atoms are in 0.750 moles of zinc?
Write a system of equations with a solution (4,–3)
If 8 men can chop down 28 trees in one day, how many trees can 20 men chop down in one day?