printf() vs write
Question Text
What are features provided by printf() when compared to write? (choose 2 answers)
Question Answers
- buffering
outputs to standard output
may write to file
- does output formatting
- can work with binary data
Feedback
printf() can do buffering to reduce the number of system calls.
Also, printf(), as it name suggests (the f suffix), does output formatting.