Is this ok??

Doug Gwyn gwyn at smoke.brl.mil
Mon Mar 11 05:39:29 AEST 1991


In article <1991Mar09.092611.24821 at pilikia.pegasus.com>, art at 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.



More information about the Comp.lang.c mailing list