![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
[单选题]
假设file是文本文件对象,下列选项中,哪个用于读取一行内容?
A.file.read()
B.file.read(200)
C.file.readline()
D.file.readlines()
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
A.file.read()
B.file.read(200)
C.file.readline()
D.file.readlines()
第5题
A.fp=fopen(“file1”,“r”)
B.fp=fopen(“file1”,“rb”)
C.fp=fopen(“file1”,“r+”)
D.fp=fopen(“file1”,“w”)
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!