
#include <stdio.h>
#include <string.h>
#include <alloc.h>

int main(void)
{
   char *target;
   char *source;
   int length;
gets(source);
//scanf("%s",source);

   /* allocate space for the target string */
   target = (char *) calloc(80, sizeof(char));

   /* copy the source over to the target and get the length */
   length = strxfrm(NULL, source, 80);

   /* print out the results */
   printf("%s has the length %d\n", target, length);
getch();
   return 0;
}

