Which statement will open the /etc/passwd file for reading only?
A.
open(PASSFILE “+>/etc/passwd”);
B.
open(PASSFILE, “/etc/passwd”);
C.
open(PASSFILE “+</etc/passwd”);
D.
open(PASSFILE, “>/etc/passwd”);
Which statement will open the /etc/passwd file for reading only?
Which statement will open the /etc/passwd file for reading only?
A.
open(PASSFILE “+>/etc/passwd”);
B.
open(PASSFILE, “/etc/passwd”);
C.
open(PASSFILE “+</etc/passwd”);
D.
open(PASSFILE, “>/etc/passwd”);
C