C++ questions: urgent, please help me answer all of the following questions, thu
ID: 3918238 • Letter: C
Question
C++ questions:
urgent, please help me answer all of the following questions, thumb up for all correct answers.
thanks!
DQuestion 13 2 pts If you attempt to open a non-existing file for output It is automatically created bt only if the file is a text fileThe open fails. It is automatically created if it's a text file It is automatically created for both text and binary files It is automatically created if it's a binary file. D Question 14 2 pts If you open an existing file for input The file size is changed to zero it it's a text file. The file is renamed The file is truncated The file size is changed to zero if it's a binary file The file size remains unchanged.Explanation / Answer
14)
Therefore the correct option is “The file size remains unchanged”
15) It is automaically created if its binary file
16)
Therefore the correct option is “B. The file will contain a total of 10 * sizeof (int) bytes if it's a binary file. ”
17)
Correct options is “E. A and B statements are incorrect.”
18)
The correct option is “D. B and C statement are correct.”
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.