strrev
Syntax
- string strrev(string str)
Arguments
- str
- The string to reverse
Return
- A pointer to the reversed string.
Description
- strrev reverses the given string. Note that the original string is modified/reversed - so the returned pointer is just a pointer to the original string.
Example
strcpy(str3, "This is the message");
strrev(str3);
msgBox(MB_OK | MB_ICONWARNING, "This is a test...", str3);
Also see
- strcpy, sprintf