Which one of the following statements opens a file for appending?

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”);



Leave a Reply 0

Your email address will not be published. Required fields are marked *