To read two characters from a file object infile, we use ____________
Checking the options:
infile.read(2)- reads 2 characters.
infile.read()- reads the entire remaining contents of the file as a string.
infile.readline()- reads a line of input, and returns it in the form of a string.
infile.readlines()- It reads all lines and returns them in a list.
So, the correct answer is (a).