Mega Code Archive

 
Categories / C / Code Snippets
 

Returns the length of the transformed string

//Declaration: size_t strxfrm(char *str1, const char *str2, size_t count); //Return: returns the length of the transformed string. #include <string.h> #include <stdio.h> int main(void) { char *s1 = "I Love Clementine"; char *s2 = "I Love Clementine"; strxfrm(s1, s2, 10); }