I'm currently writing a program that uses string functions. I need some advice/hints on how I can display "Hello World" and its length with myStrcat() in main().
your strlen is destroying the string by replacing all the chars with 0 end of string.
why?
your strcat is empty. you need to code it?
Its pretty much strcpy called twice.
something like:
myStrcpy(a,b);
myStrcpy(&a[strlen(a)],c);
that is, copy b into a, then copy c into a starting at the end of where the b data is. Double check the position, I didn't look very closely.