QusFile mode में यदि file मौजूद नहीं है लेकिन पढ़ने से पहले create करनी है, तो कौन-सा mode उपयोग होगा?
A. w+
B. a
C. x
D. r+
Solution
C. xExplanation
Exclusive creation mode x creates a file only if it does not already exist.x mode नई file बनाता है और file पहले से मौजूद होने पर error देता है।