Which one of the following statements will open the file /home/myfile and append data?
A.
open (INPUT “/home/myfile”);
B.
open (INPUT, “>>/home/myfile”);
C.
open (OUTPUT, “>/home/myfile”);
D.
open (OUTPUT “/home/myfile”);
Which one of the following statements will open the file /home/myfile and append data?
Which one of the following statements will open the file /home/myfile and append data?
A.
open (INPUT “/home/myfile”);
B.
open (INPUT, “>>/home/myfile”);
C.
open (OUTPUT, “>/home/myfile”);
D.
open (OUTPUT “/home/myfile”);