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)- A4% (1)
- B4% (1)
- C74% (17)
- D17% (4)
Community Discussion
No community discussion yet for this question.