Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!nike!ucbcad!ucbvax!UMKCVAX1.BITNET!MCDONALD From: MCDONALD@UMKCVAX1.BITNET Newsgroups: mod.computers.vax Subject: VAX C bug Message-ID: <8610301127.AA01047@ucbvax.berkeley.edu> Date: Wed, 29-Oct-86 15:18:00 EST Article-I.D.: ucbvax.8610301127.AA01047 Posted: Wed Oct 29 15:18:00 1986 Date-Received: Thu, 30-Oct-86 23:25:17 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 25 Approved: info-vax@sri-kl.arpa The following program WON'T compile as is: ================== /* from page 1-20 PROGRAMMING IN VAX C */ #include stdio int *pointer; int x=10, y=0; main() { pointer=&x; y=*pointer; printf("values are %d %d %d\n",pointer,x,y); } =================== but will with these changes: =================== pointer= &x; y= *pointer; =================== Is this a *known* bug?? GaryM. BITNET contact UMKCVAXn (n=1,3) Univ. of Mo. at K.C. MCDONALD @ UMKCVAX1 . BITNET