Yes, char* and char array are very often interchangeable. In fact, if you take a look at major_small's code above, he uses char*'s wherever I use a char array instead (with very minor changes)