Hi,
Look for a space or a '\0'(which is at the end of the string) in your char array. If you find a space or a '\0', record the index position. Then reverse the characters between that index position and the previously recorded index position.
Hi,
Look for a space or a '\0'(which is at the end of the string) in your char array. If you find a space or a '\0', record the index position. Then reverse the characters between that index position and the previously recorded index position.
Last edited by 7stud; 12-01-2005 at 02:31 AM.