home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!dsbb
- From: dsbb@ns1.cc.lehigh.edu (D. SPENCER BEECHER)
- Newsgroups: comp.lang.c
- Subject: Re: Question to test general C knowledge
- Message-ID: <1992Dec16.180117.72534@ns1.cc.lehigh.edu>
- Date: 16 Dec 92 18:01:17 GMT
- Organization: Lehigh University
- Lines: 19
-
- >>>> int i = 2;
- >>>> i = ++i;
- >>> If they say other than "it's undefined", *then* don't hire them.
-
- After reading much discussion on this matter, I have only
- one question:
-
- On what page of the white book does it indicate precedence in
- evaluation of the above statement?
-
- I would compare this to the line:
-
- putchar(c)=getchar();
-
- (which, by the way, does NOT work on any but the most forgiving compilers)
- --
- _ _ _ _ _ _
- -Spence [O.O] )x.x( )O.O(
- O O -*-
-