Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!ames!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Is this ok?? Message-ID: <15407@smoke.brl.mil> Date: 10 Mar 91 19:39:29 GMT References: <1991Mar09.092611.24821@pilikia.pegasus.com> Distribution: comp Organization: U.S. Army Ballistic Research Laboratory (BRL), APG, MD. Lines: 8 In article <1991Mar09.092611.24821@pilikia.pegasus.com>, art@pilikia.pegasus.com (Art Neilson) writes: > Where does *s point to ? Where in storage would "Hello\n" reside ? The compiler must arrange for the string literal to be allotted some storage having static storage duration. There was nothing whatever wrong with the posted example program, just with the VMS C implementation, probably due to its failure to support 0 as a valid form for expressing a "successful" exit status.