pjh@mccc.edu (Peter J. Holsberg) (04/05/91)
Oops! I did it again! Must be affected by the news report that said that men lose brain cells faster than women! So of course the few people who answered my posting(s) are bent on showing me up rather than answering my question. Serves me right for making such stupid mistakes and deflecting them from my purpose!! Let me *not* give an example but couch the question in more general terms. Where/how does the standard explain that an expression such as x[i++] *= y; has the "x[i++]" part evaluated only once, while an expression such as x *= y; has the "x" part evaluated twice, as in x = x * y; Thanks. I hope I got it right this time. ;-) Pete -- Prof. Peter J. Holsberg Mercer County Community College Voice: 609-586-4800 Engineering Technology, Computers and Math UUCP:...!princeton!mccc!pjh 1200 Old Trenton Road, Trenton, NJ 08690 Internet: pjh@mccc.edu Trenton Computer Festival -- 4/20-21/91
volpe@camelback.crd.ge.com (Christopher R Volpe) (04/05/91)
In article <1991Apr4.205257.15205@mccc.edu>, pjh@mccc.edu (Peter J. Holsberg) writes: |>Oops! I did it again! Must be affected by the news report that said |>that men lose brain cells faster than women! So of course the few |>people who answered my posting(s) are bent on showing me up rather than |>answering my question. Serves me right for making such stupid mistakes |>and deflecting them from my purpose!! |> |>Let me *not* give an example but couch the question in more general terms. |> |>Where/how does the standard explain that an expression such as |> |> x[i++] *= y; |> |>has the "x[i++]" part evaluated only once, while an expression such as |> |> x *= y; |> |>has the "x" part evaluated twice, as in |> |> x = x * y; Whoa! In "x *= y;", x is *not* evaluated twice. What made you think it was? |> |>Thanks. I hope I got it right this time. ;-) |> |>Pete |>-- |>Prof. Peter J. Holsberg Mercer County Community College |>Voice: 609-586-4800 Engineering Technology, Computers and Math |>UUCP:...!princeton!mccc!pjh 1200 Old Trenton Road, Trenton, NJ 08690 |>Internet: pjh@mccc.edu Trenton Computer Festival -- 4/20-21/91 ================== Chris Volpe G.E. Corporate R&D volpecr@crd.ge.com