#include <stdio.h>
void myStrcat(char s[],char t[]);
int main(void)
{
char s[100];
char t[100];
myStrcat(s,t);
}
void myStrcat(char s[],char t[])
{
int i,j;
for(i=0; s[i]!='\0'; i++);
for(j=0; t[j]='\0'; j++)
{
s[i+j]=t[j];
}
s[i+j]='\0';
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgoKdm9pZCBteVN0cmNhdChjaGFyIHNbXSxjaGFyIHRbXSk7CgoKaW50IG1haW4odm9pZCkKewoJY2hhciBzWzEwMF07CgljaGFyIHRbMTAwXTsKCglzY2FuZigiJXMgJXMiLHMsdCk7CgoJcHJpbnRmKCIlcyslc1xuIixzLHQpOwoKCW15U3RyY2F0KHMsdCk7CgoJcHJpbnRmKCIlc1xuIixzKTsKCn0KCgp2b2lkIG15U3RyY2F0KGNoYXIgc1tdLGNoYXIgdFtdKQp7CglpbnQgaSxqOwoJZm9yKGk9MDsgc1tpXSE9J1wwJzsgaSsrKTsKCglmb3Ioaj0wOyB0W2pdPSdcMCc7IGorKykKewoJc1tpK2pdPXRbal07CgkJCQkJCQkJfQoKCXNbaStqXT0nXDAnOwoKfQ==