In the C++ book I'M reading chars are defined by char *variableName, but in the preceding code from the same book I see char s[100] without the * character? What have I missed?
In the following code I'M a little confused with the "convert" function. Is it working with the pointer s or the char s?
The name of an array is converted to the pointer to its first element when it is used in expressions. So when you pass an array as an argument of a function it is converted to the pointer to its first element.