What is the function of the mode ‘ w+’?
(a) create text file for writing, discard previous contents if any
(b) create text file for update, discard previous contents if any
(c) create text file for writing, do not discard previous contents if any
(d) create text file for update, do not discard previous contents if any
I had been asked this question in semester exam.
I'm obligated to ask this question of File Operations in division Input and Output in C of C