单项选择题

下面4个选项中,专门用于读取单个字符的是()。

A.cin.put()
B.cin.get()
C.cin.getline()
D.cin.read()