I have just been experimenting with the cout object and I have 2 questions.

1. Is there any benefit of of using this
cout << 'm' << endl; instead of this
cout << "m" << endl; or does the compiler treat these lines
differently at all.

2. cout << 'A' << endl; // outputs A
cout << 'AA' << endl; // outputs 16705
cout << 'AB' <<endl; // outputs 16706

can anyone explain this . I know that chars can only hold 1 byte
but i would be interested to know how the above results are
arrived at . Can anyone shed any light?

Thanks.