nerdexam
CIW

1D0-437 · Question #34

Which one of the following statements opens a file for appending?

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

Question

Which one of the following statements opens a file for appending?

Options

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

How the community answered

(23 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    74% (17)
  • D
    17% (4)

Community Discussion

No community discussion yet for this question.

Full 1D0-437 Practice