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?

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



Leave a Reply 0

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