Understanding the strcat Function in C++