【面试题目】strcpy 实现
char* strcpy(char* strDest, const char* strSrc)
{
assert(NULL != strDest);
assert(NULL != strSrc);
char *tmp= strDest;
while("0" != (*tmp++ = *strSrc++));
{
assert(NULL != strDest);
assert(NULL != strSrc);
char *tmp= strDest;
while("0" != (*tmp++ = *strSrc++));
return strDest;
}