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

According to the Declaration of Independence what are the three most basics rights?
When do many companies expect to have a net loss
Which best describes the influence of Tang China on the newly emerging Nara state in Japan?
where did the English population in North America settle? (a) Pacific coast (b) Gulf of Mexico (c) Florida coast (d) Atlantic seaboard
how to find the perimeter of a polygon
Find the distance between M(-2,3) and N (8,2)
Select true or false to tell whether the following disjunction is true or false. Use the truth table if needed. A line has only one point or a plane has at leas
What is the correct meaning of spealize?
in which direction would the graph of y=|x + 5|-1 open a. up b.down c. left d. right
Which one of the following types of child care does not occur in a home setting with home activities? A. In-home care B. Home visitor care C. Day care