Am trying to copy array "a" into CString, but only value 'a' is copied. I want to put all {'a',0,'b'} into str. How to

please see the code below. This is what I have done

char a[3] ={'a',0,'b'};
CString str(a);
AfxMessageBox(str);

AfxMessageBox displays only 'a'

Thanks in Adv