Report Bug
Qus : Which mode creates a new file if the file does not exist?
Qusयदि फ़ाइल मौजूद नहीं है तो कौन सा मोड एक नई फाइल बनाता है?

A. write mode
B. read mode
C. append mode
D. Both (A) And (C)


Solution
D. Both (A) And (C)



Explanation
<p><span style="font-size: 14px;">w (write mode)</span></p><p><span style="font-size: 14px;">or</span></p><p><span style="font-size: 14px;">a (append mode)</span></p><p><span style="font-size: 14px;">or</span></p><p><span style="font-size: 14px;">x (exclusive creation mode)</span></p>



Report Bug