🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित कथन में 'f' क्या है?

What is ‘f’ in the following statement ?


f=open(“Data.txt”, “r”) 

A)
B)
C)
D)

Explanation:

In the statement f = open("Data.txt", "r"):

  • f is the file handle. It acts as a reference to the file object, allowing you to perform actions like reading from or writing to the file.

So, the correct answer is:

(B) File Handle (file object/file pointer).

Latest Updates