I was going through a possible implementation method for library function strcpy
. It is :
void strcpy(char *src, char *dest)
{
while (*dest++ = *src++)
;
}
How can this possibly work without check of ''
??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…