Path: utzoo!mnetor!uunet!husc6!uwvax!rutgers!mtunx!whuts!homxb!hropus!jgy From: jgy@hropus.UUCP (John Young) Newsgroups: comp.lang.c Subject: Re: strcpy Message-ID: <90@hropus.UUCP> Date: 26 Mar 88 01:58:19 GMT References: <12636@brl-adm.ARPA> Organization: Bell Labs, Holmdel, NJ Lines: 15 In response to Barry Margolin, Dave sill writes: > I don't think that that's guaranteed, or even implied by that > sentence. I would expect the contents of `dest' to be: > > 'a' 'b' 'c' '\0' ? ? ? ? ? ? .......... > There is nothing said about the order in which the copying takes > place, or the contents of the destination string past the null > character. > The opinions expressed above are mine. I'm glad these are just yours! Your mistaken. If the "contents of the destination string past the null character" are not guaranteed why would anyone use strcpy()?