Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Autoincrement operator precedence difference between C and Perl

by oha (Friar)
on Oct 09, 2007 at 10:21 UTC ( [id://643659]=note: print w/replies, xml ) Need Help??


in reply to Re: Autoincrement operator precedence difference between C and Perl
in thread Autoincrement operator precedence difference between C and Perl

not only the order isn't defined but the result too.
the code (a=B)*c/(a=C) in C not only means that you can't know if a will be B or C, but it can be something else (suppose the code run on a 16 bit host and a is 32 bit...)

Oha

  • Comment on Re^2: Autoincrement operator precedence difference between C and Perl
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://643659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2026-02-17 20:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.