निम्नलिखित कथन में 'f' क्या है?
What is ‘f’ in the following statement ?
f=open(“Data.txt”, “r”) A
File Name
B
File Handle
C
Mode of file
D
File Handling
Explanation
In the statement:
f = open("Data.txt", "r")
fis a file handle. It's a reference to the file that has been opened, allowing you to perform operations (like reading, writing) on the file.
So, the correct answer is:
Answer: (B) File Handle.
Correct Answer: B) File Handle