Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot From: decot@hpisod2.HP.COM (Dave Decot) Newsgroups: comp.lang.c Subject: Re: modification of strings Message-ID: <2550084@hpisod2.HP.COM> Date: 21 Feb 89 14:25:17 GMT References: <345@lakesys.UUCP> Organization: Hewlett Packard, Cupertino Lines: 11 Note, however, that: static char blah[20] = "meow"; char *tmp; tmp = strcpy(blah, "grr, snarl, hiss"); works nicely, because enough space is allocated to hold the longer value, and the space is guaranteed to be writable. Dave