Which one of the following statements opens a file for appending?
A.
open(PASSWD, “>/etc/passwd”);
B.
open(PASSWD “>/etc/passwd”);
C.
open(PASSWD, “>>/etc/passwd”);
D.
open(PASSWD “+>/etc/passwd”);
Which one of the following statements opens a file for appending?
Which one of the following statements opens a file for appending?
A.
open(PASSWD, “>/etc/passwd”);
B.
open(PASSWD “>/etc/passwd”);
C.
open(PASSWD, “>>/etc/passwd”);
D.
open(PASSWD “+>/etc/passwd”);