Actually it will let you store 20 characters in a 21 character string. I already posted a blurb on how this works.
cin.get(sentence, 19);
Means that a maximum of 18 characters will be written to string and a zero automatically placed at the 19th place, if you use up the whole string. Please pay attention to the small stuff.
I still recommend std::string.