To open a file c:scores.dat for binary reading, use __________.

Loading

โœช Choose the correct option.

To open a file c:scores.dat for binary reading, use __________.

A. infile = open(“c:scores.dat”, “rb”)
B. infile = open(“c:scores.dat”, “r”)
C. infile = open(“c:scores.dat”, “wrb”)
D. infile = open(“c:scores.dat”, “r”)