单项选择题

下列输出字符’B’的方法中,错误的是()

A.cout.put(‘B’);
B.chara=’B’;cout< < a;
C.cout< < put(‘B’);
D.cout< < ’B’;