VI.1: What is the difference between a string copy (strcpy) and a memory copy (memcpy)?
And when should each be used?
VI.2: How can I remove the trailing spaces from a string?
VI.3: How can I remove the leading spaces from a string?
VI.4: How can I right-justify a string?
VI.5: How can I pad a string to a known length?
VI.6: How can I copy just a portion of a string?
VI.7: How can I convert a number to a string?
VI.8: How can I convert a string to a number?
VI.9: How do you print only part of a string?
VI.10: How do you remove spaces from the end of a string?
VI.11: How can you tell whether two strings are the same?
No comments:
Post a Comment