adplus-dvertising
frame-decoration

Question

What is the correct syntax of open() function?

a.

file = open(file_name [, access_mode][, buffering])

b.

file object = open(file_name [, access_mode][, buffering])

c.

file object = open(file_name)

d.

none of the mentioned

Answer: (b).file object = open(file_name [, access_mode][, buffering])

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the correct syntax of open() function?