|
-
February 16th, 2004, 09:31 PM
#4
Re: Reverse fucntion
Originally posted by tinhnho
Write the function:
Code:
Void reverse(char s[], char s1[]);
The string s and s1 must be the same size.String s1 should be come a reversed copy of string s.Ex:
in put : My name is Jessica
out put: caissej si eman yM
Isn't the above stated that you need to write the function? IMHO, it isn't necessary to create a class just for the above transformation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|