Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. #include<string.h>
  4. char *my_strcpy(char *dest, const char *src)
  5. {
  6. int i;
  7. int L = strlen(src) ;
  8. for ( i = 0; i <= L; i++ )
  9. dest[i] = src[i];
  10. return dest;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement