void str_cat(char *deststr, char *srcstr)
{
char *dtemp = deststr;
char *stemp = srcstr;
while(*dtemp != '\0')
{
dtemp++;
}
while(*srcstr != '\0')
{
*dtemp = *srcstr;
dtemp++;
srcstr++;
}
*dtemp = '\0';
}
void str_cat(char *deststr, char *srcstr)
{
char *dtemp = deststr;
char *stemp = srcstr;
while(*dtemp != '\0')
{
dtemp++;
}
while(*srcstr != '\0')
{
*dtemp = *srcstr;
dtemp++;
srcstr++;
}
*dtemp = '\0';
}