#include <stdio.h>
void myStrcpy(char s[], char t[])
{
int i;
for(i=0; s[i]!='\0'; i++)
{
t[i]=s[i];
}
t[i]='\0';
return;
}
int main()
{
int len;
char s[100];
char t[100];
myStrcpy(s,t);
printf("s : %s\nt : %s\n",s
,t
); return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIG15U3RyY3B5KGNoYXIgc1tdLCBjaGFyIHRbXSkKewoJaW50IGk7Cglmb3IoaT0wOyBzW2ldIT0nXDAnOyBpKyspCnsKCXRbaV09c1tpXTsKCQkJCQkJCQkJfQoJdFtpXT0nXDAnOwoKCXJldHVybjsKCn0KCmludCBtYWluKCkKewogICAgaW50IGxlbjsKICAgIGNoYXIgc1sxMDBdOwogICAgY2hhciB0WzEwMF07CiAgICBzY2FuZigiJXMiLHMpOwogICAgbXlTdHJjcHkocyx0KTsKICAgIHByaW50ZigicyA6ICVzXG50IDogJXNcbiIscyx0KTsKICAgIHJldHVybiAwOwp9Cg==