home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18991 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  1.1 KB

  1. Xref: sparky comp.lang.c:18991 comp.std.c:3279
  2. Newsgroups: comp.lang.c,comp.std.c
  3. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
  4. From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
  5. Subject: Re: uninitialized++;
  6. Message-ID: <9236508.13290@mulga.cs.mu.OZ.AU>
  7. Followup-To: comp.std.c
  8. Sender: news@cs.mu.OZ.AU
  9. Organization: Computer Science, University of Melbourne, Australia
  10. References: <HBF.92Dec29211517@gandalf.uio.no>
  11. Date: Tue, 29 Dec 1992 21:44:33 GMT
  12. Lines: 21
  13.  
  14. hbf@gandalf.uio.no (Hallvard B Furuseth) writes:
  15.  
  16. >Can this fail  - on some machine?  - in ANSI?
  17. >
  18. >main ()
  19. >{
  20. >    int uninitialized;
  21. >    uninitialized++;
  22. >    return 0;
  23. >}
  24.  
  25. I believe so, but I can't give you an authoratitive answer.
  26. I've redirected things to comp.std.c where hopefully someone will
  27. be able to quote chapter and verse of the standard to answer
  28. your query.
  29.  
  30. -- 
  31. Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  32. This .signature virus is a self-referential statement that is true - but 
  33. you will only be able to consistently believe it if you copy it to your own
  34. .signature file!
  35.