Which one of the following statements will open the file /etc/passwd for reading?
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 will open the file /etc/passwd for reading?
Which one of the following statements will open the file /etc/passwd for reading?
A.
open (PASSWD, “etc/passwd”);
B.
open (<PASSWD>, “/etc/passwd”);
C.
open (PASSWD, “>>/etc/passwd”);
D.
open (<PASSWD>, “>/etc/passwd”);