nerdexam
CIW

1D0-437 · Question #14

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

The correct answer is B. open(PASSFILE, "/etc/passwd"). See the full explanation below for the reasoning.

Question

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

Options

  • Aopen(PASSFILE "+>/etc/passwd");
  • Bopen(PASSFILE, "/etc/passwd");
  • Copen(PASSFILE "+</etc/passwd");
  • Dopen(PASSFILE, ">/etc/passwd");

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    85% (33)
  • C
    3% (1)
  • D
    10% (4)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice