PrepAway - Latest Free Exam Questions & Answers

Which statement will open the /etc/passwd file for reading only?

Which statement will open the /etc/passwd file for reading only?

PrepAway - Latest Free Exam Questions & Answers

A.
open(PASSFILE “+>/etc/passwd”);

B.
open(PASSFILE, “/etc/passwd”);

C.
open(PASSFILE “+</etc/passwd”);

D.
open(PASSFILE, “>/etc/passwd”);

One Comment on “Which statement will open the /etc/passwd file for reading only?


Leave a Reply