fork download
  1. # include <stdio.h>
  2.  
  3. int myStrcpy(char s[], char t[]){
  4.  
  5. }
  6.  
  7. int main(){
  8. int len;
  9. char s[100];
  10. char t[100];
  11. scanf("%s %s",s,t);
  12. printf("%s = %s -> ",s,t);
  13. len = myStrcpy(s,t);
  14. printf("%d\n",len);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5276KB
stdin
abcd
stdout
abcd =  -> 0