Site Links
Question #1
The position of the null terminator is equivalent to the length of a string.
Question #2
When using the strcat function, if the end of the destination string is reached, the strcat function will automatically allocate more memory to complete the string concatenation.
Question #3
The strcmp function can tell you which string comes first alphabetically.
Question #4
A string length function can be created using a while loop.
Question #5
In order to use the C++ library functions strlen and strcat the compiler directive #include must appear at the top of the program.