← Quiz: Files and Preprocessor: all 10 questions
Quiz: Files and Preprocessor · Question 3 of 10
Which mode adds data to the end of an existing file?
Which mode adds data to the end of an existing file?
- A."w"
- B."r"
- C."a"
- D."x"
Answer & explanation
Correct answer: "a"
"a" (append) keeps the old content and writes at the end.
Can you get the rest right without peeking?
Take the timed Quiz: Files and Preprocessor quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →