Path: utzoo!attcan!uunet!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!tut.cis.ohio-state.edu!unmvax!deimos.cis.ksu.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Is this portable? Message-ID: <10246@smoke.BRL.MIL> Date: 10 May 89 13:46:23 GMT References: <1914@plx.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <1914@plx.UUCP> evan@plx.UUCP (Evan Bigall) writes: >This works on my machine, but I am curious as to whether it is "officially" >correct and portable C. The pointer arithmetic was okay; ptr[-1] is legal. (The program failed to #include and return a value from main(), however.)