单项选择题

设有定义char str[80];以下不能将输入数据first\nsecond\n<CR>读取到数组str中的语句是( )。

A.cin.get(str,strlen(str));
B.cin.getline(str,strlen(str));
C.cin>>str;
D.cin.read(str,strlen(str));