0% found this document useful (0 votes)
24 views3 pages

Question 60: Please Check The Table Given in The Below Figure Which Says The Contents of The File Will Be Lost in W+ Mode Also

The document discusses a multiple choice question about file opening modes in C programming. The question asks about a table showing file contents would be lost in "w+" mode. The document references two proof sources and shows the answer is both 'w' and 'w+' modes since writing in these modes truncates the original file contents.

Uploaded by

Ishan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

Question 60: Please Check The Table Given in The Below Figure Which Says The Contents of The File Will Be Lost in W+ Mode Also

The document discusses a multiple choice question about file opening modes in C programming. The question asks about a table showing file contents would be lost in "w+" mode. The document references two proof sources and shows the answer is both 'w' and 'w+' modes since writing in these modes truncates the original file contents.

Uploaded by

Ishan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Question 60: Please check the table given in the below figure which says the contents of the

file will be
lost in w+ mode also.

Proof 2: Handbook of C (Laxmi publications)


Proof 3: Mcq in computer science by timothy williams. See question 195 in figure given below:
The answer to this queestion is given in snapshot below:

The answer to this question is both option b and c that is w and w+ mode.

You might also like