Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watarts.UUCP Path: utzoo!watmath!watarts!upen From: upen@watarts.UUCP (Ue-Li Pen) Newsgroups: net.lang.c Subject: String help! Message-ID: <8257@watarts.UUCP> Date: Tue, 19-Feb-85 10:28:49 EST Article-I.D.: watarts.8257 Posted: Tue Feb 19 10:28:49 1985 Date-Received: Thu, 21-Feb-85 07:43:57 EST Distribution: net Organization: U of Waterloo, Ontario Lines: 13 Question: Is it allowed & portable to use the construct: char* foo(){ return("foobar"); } This would hopefully return a pointer to the string "foobar".. If it isn't.. should it be allowed? It would seem reasonable.