If(strlen(Str1)!=strlen(Str2)) return FALSE;
sort both Str1,Str2.
If(str1==str2) return TRUE;
else
return FALSE;
Deleting all your perforce workspaces
12 years ago
Search BhaiVisitors |
Giving Two Strings, Find out whether they are Anagrams(made up of same chars) or not?
If(strlen(Str1)!=strlen(Str2)) return FALSE;
sort both Str1,Str2. If(str1==str2) return TRUE; else return FALSE; |
Categories
Blog Archive
Rent A Coder |