<B>~James Baud</B><P>He who asks, is a fool for five minutes;<BR>but, he who does not ask, remains a fool forever. (Chinese proverb)
<B>~James Baud</B><P>He who asks, is a fool for five minutes;<BR>but, he who does not ask, remains a fool forever. (Chinese proverb)
In fact, the behavior is undefined according to the rules of c/c++. On some compilers it may increment and on others it may not. (My own experience is that in most cases, but not all, it increments). Java is a vast improvement because the behavior is defined and will not vary between JVMs.in 'c' or 'c++', it works just fine and i gets the value 1, in case i'm trying in 'c' or 'c++', after its(i=i++) execution
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|